Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000893/0.000893, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 176.3 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.4 MB / 222.7 MB, free: 5.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.316/0.316, allocations: 43.54 MB / 314.5 MB, free: 8.703 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004694, allocations: 16 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001981/0.1091, allocations: 1.458 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1104, allocations: 0.8085 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.1105, allocations: 3.938 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1109, allocations: 275.4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1112, allocations: 187.6 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.1116, allocations: 131.7 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.1118, allocations: 159.6 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.1119, allocations: 17.55 kB / 445.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.112, allocations: 115.6 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.1122, allocations: 139.6 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1122, allocations: 4 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.1123, allocations: 24 kB / 446.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1125, allocations: 131.6 kB / 446.2 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.1125, allocations: 73.5 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1128, allocations: 279.7 kB / 446.5 MB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1128, allocations: 4 kB / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1128, allocations: 0 / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1128, allocations: 0 / 446.5 MB, free: 9.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008036/0.1136, allocations: 0.6686 MB / 447.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1137, allocations: 16.02 kB / 447.2 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.1137, allocations: 43.44 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.1143, allocations: 415.2 kB / 447.7 MB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1143, allocations: 3.938 kB / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1143, allocations: 11.94 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1145, allocations: 83.36 kB / 447.8 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1145, allocations: 3.984 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1146, allocations: 4 kB / 447.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1146, allocations: 3.953 kB / 447.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.1147, allocations: 23.98 kB / 447.8 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1151, allocations: 386.2 kB / 448.2 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1153, allocations: 101.3 kB / 448.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1153, allocations: 0 / 448.3 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.1156, allocations: 113.1 kB / 448.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1156, allocations: 0 / 448.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004424/0.116, allocations: 197 kB / 448.6 MB, free: 7.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1161, allocations: 81.06 kB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008989/0.117, allocations: 1.01 MB / 449.7 MB, free: 5.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.117, allocations: 25.7 kB / 449.7 MB, free: 5.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.1172, allocations: 232.1 kB / 449.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1172, allocations: 31.62 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1172, allocations: 8 kB / 450 MB, free: 5.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1173, allocations: 362.8 kB / 450.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.1174, allocations: 27.98 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.068e-05/0.1175, allocations: 59.36 kB / 450.4 MB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.642e-05/0.1176, allocations: 39.98 kB / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1176, allocations: 0 / 450.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002493/0.1179, allocations: 157 kB / 450.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1179, allocations: 4 kB / 450.6 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1179, allocations: 3.984 kB / 450.6 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1179, allocations: 4 kB / 450.6 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.118, allocations: 19.94 kB / 450.6 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.118, allocations: 12.02 kB / 450.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.1181, allocations: 15.89 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1182, allocations: 4 kB / 450.6 MB, free: 4.883 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.000183/0.1183, allocations: 221.6 kB / 450.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.1184, allocations: 55.34 kB / 450.9 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.1185, allocations: 55.84 kB / 451 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1185, allocations: 4.625 kB / 451 MB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1185, allocations: 3.938 kB / 451 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1185, allocations: 11.89 kB / 451 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.1188, allocations: 333.4 kB / 451.3 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1188, allocations: 8 kB / 451.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.1188, allocations: 7.984 kB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1188, allocations: 0 / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1188, allocations: 8 kB / 451.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1188, allocations: 0 / 451.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1188, allocations: 0 / 451.3 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1191, allocations: 211 kB / 451.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1193, allocations: 144.4 kB / 451.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.1193, allocations: 4 kB / 451.7 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1194, allocations: 11.98 kB / 451.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1194, allocations: 7.953 kB / 451.7 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.1195, allocations: 7.984 kB / 451.7 MB, free: 3.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006812/0.1202, allocations: 0.7487 MB / 452.5 MB, free: 2.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1202, allocations: 4 kB / 452.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1204, allocations: 40 kB / 452.5 MB, free: 2.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008228/0.1212, allocations: 421 kB / 452.9 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1215, allocations: 79.89 kB / 453 MB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1215, allocations: 0 / 453 MB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.048e-05/0.1216, allocations: 39.98 kB / 453 MB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1219, allocations: 62.39 kB / 453.1 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.1229, allocations: 0.8853 MB / 454 MB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1232, allocations: 0.8468 MB / 454.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.1234, allocations: 58.94 kB / 454.9 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.1234, allocations: 31.42 kB / 454.9 MB, free: 496 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1234, allocations: 0 / 454.9 MB, free: 496 kB / 382.1 MB Notification: Performance of Templates: time 0.1664/0.2898, allocations: 3.323 MB / 458.2 MB, free: 45.68 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches