Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009609/0.000961, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000724/0.000724, allocations: 81.55 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3159/0.3159, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003897, allocations: 24 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001751/0.1083, allocations: 1.357 MB / 492.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1094, allocations: 0.7355 MB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.1095, allocations: 4 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1097, allocations: 43.86 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1099, allocations: 47.83 kB / 493 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1101, allocations: 75.83 kB / 493.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1103, allocations: 79.7 kB / 493.2 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.1103, allocations: 7.984 kB / 493.2 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.1104, allocations: 39.84 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.1105, allocations: 35.78 kB / 493.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1105, allocations: 0 / 493.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.1106, allocations: 28 kB / 493.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.1106, allocations: 19.91 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.1107, allocations: 65.44 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.1108, allocations: 92.03 kB / 493.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1109, allocations: 4 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1109, allocations: 0 / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1109, allocations: 0 / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004531/0.1113, allocations: 403 kB / 493.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1114, allocations: 8.031 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.1114, allocations: 20.73 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1116, allocations: 219.6 kB / 494.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1116, allocations: 8.375 kB / 494.1 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1117, allocations: 12.11 kB / 494.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1118, allocations: 45.69 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1118, allocations: 0 / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.1118, allocations: 0 / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1118, allocations: 4 kB / 494.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.968e-05/0.1119, allocations: 15.98 kB / 494.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1121, allocations: 185.7 kB / 494.4 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.1122, allocations: 58.56 kB / 494.4 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.104e-05/0.1123, allocations: 24.78 kB / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1123, allocations: 0 / 494.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.1125, allocations: 71.27 kB / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1125, allocations: 0 / 494.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002702/0.1128, allocations: 101.4 kB / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.1128, allocations: 51.41 kB / 494.7 MB, free: 6.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.113, allocations: 259.7 kB / 494.9 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1131, allocations: 29.7 kB / 494.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.1131, allocations: 108.1 kB / 495 MB, free: 6.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1131, allocations: 11.89 kB / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.1132, allocations: 0 / 495.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.1133, allocations: 326.8 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.1133, allocations: 23.97 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.522e-05/0.1134, allocations: 21.72 kB / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.1135, allocations: 49.64 kB / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1135, allocations: 0 / 495.5 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001395/0.1136, allocations: 81.44 kB / 495.6 MB, free: 5.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1136, allocations: 8 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1136, allocations: 0 / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1137, allocations: 4.031 kB / 495.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.1137, allocations: 19.92 kB / 495.6 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1137, allocations: 4 kB / 495.6 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.1138, allocations: 3.938 kB / 495.6 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1138, allocations: 4 kB / 495.6 MB, free: 5.871 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.1139, allocations: 145.4 kB / 495.7 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.1139, allocations: 11.81 kB / 495.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.114, allocations: 20.98 kB / 495.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.114, allocations: 4 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.114, allocations: 320 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.114, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.1141, allocations: 193.6 kB / 496 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1141, allocations: 8 kB / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.1141, allocations: 0 / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1141, allocations: 0 / 496 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1142, allocations: 4 kB / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1142, allocations: 0 / 496 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1142, allocations: 7.922 kB / 496 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.1143, allocations: 112.9 kB / 496.1 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.1144, allocations: 96.84 kB / 496.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1144, allocations: 8 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.1145, allocations: 0 / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1145, allocations: 7.984 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1145, allocations: 0 / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.1147, allocations: 199 kB / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1147, allocations: 3.938 kB / 496.4 MB, free: 4.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001943/0.1149, allocations: 27.98 kB / 496.4 MB, free: 4.941 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007648/0.1156, allocations: 403 kB / 496.8 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1158, allocations: 43.92 kB / 496.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1158, allocations: 0 / 496.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.1159, allocations: 16 kB / 496.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.1161, allocations: 31.91 kB / 496.9 MB, free: 4.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.1165, allocations: 303.5 kB / 497.2 MB, free: 4.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1168, allocations: 0.72 MB / 497.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1168, allocations: 15.42 kB / 497.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1168, allocations: 0 / 497.9 MB, free: 3.406 MB / 378.7 MB Notification: Performance of Templates: time 0.002977/0.1198, allocations: 1.797 MB / 499.7 MB, free: 1.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches