Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 107.1 kB / 18.39 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 184.1 kB / 19.32 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 243 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2056/0.2056, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.97 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1039, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003101/0.1071, allocations: 1.785 MB / 472.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1085, allocations: 0.9627 MB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.1086, allocations: 7.938 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.109, allocations: 307.3 kB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1093, allocations: 203.4 kB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003533/0.1097, allocations: 171.5 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000266/0.11, allocations: 239.4 kB / 474.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.11, allocations: 17.53 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1102, allocations: 127.5 kB / 474.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1104, allocations: 191.5 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.1104, allocations: 4 kB / 474.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.1105, allocations: 51.98 kB / 474.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1107, allocations: 131.6 kB / 474.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1108, allocations: 146.8 kB / 475 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.1111, allocations: 366.7 kB / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1112, allocations: 0 / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1112, allocations: 0 / 475.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1112, allocations: 0 / 475.4 MB, free: 8.957 MB / 350.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.0008724/0.1121, allocations: 0.7308 MB / 476.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1121, allocations: 12.03 kB / 476.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.1122, allocations: 48.28 kB / 476.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.1128, allocations: 447.9 kB / 476.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1128, allocations: 4.375 kB / 476.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.1128, allocations: 4.125 kB / 476.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.113, allocations: 83.36 kB / 476.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.113, allocations: 7.875 kB / 476.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1131, allocations: 7.984 kB / 476.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1131, allocations: 7.938 kB / 476.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1132, allocations: 27.98 kB / 476.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1135, allocations: 374.4 kB / 477.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.1138, allocations: 109.2 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/0.1139, allocations: 45.62 kB / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.114, allocations: 0 / 477.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.1142, allocations: 116.9 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1142, allocations: 4 kB / 477.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000488/0.1147, allocations: 193.5 kB / 477.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.1148, allocations: 85.09 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009879/0.1157, allocations: 1.03 MB / 478.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1158, allocations: 29.69 kB / 478.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.1159, allocations: 228.1 kB / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.116, allocations: 35.55 kB / 479 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1161, allocations: 33.7 kB / 479 MB, free: 5.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1162, allocations: 362.8 kB / 479.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.1163, allocations: 27.98 kB / 479.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.1164, allocations: 58.55 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1166, allocations: 99.41 kB / 479.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1166, allocations: 0 / 479.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003078/0.1169, allocations: 164.9 kB / 479.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1169, allocations: 8 kB / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1169, allocations: 0 / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.117, allocations: 0 / 479.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1171, allocations: 27.98 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1171, allocations: 0 / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.319e-05/0.1172, allocations: 15.95 kB / 479.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1172, allocations: 4 kB / 479.8 MB, free: 4.293 MB / 350.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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.1174, allocations: 237.6 kB / 480 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.1175, allocations: 51.34 kB / 480 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.1176, allocations: 56 kB / 480.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1176, allocations: 4 kB / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1176, allocations: 0 / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1176, allocations: 0 / 480.1 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.1179, allocations: 349.3 kB / 480.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1179, allocations: 4 kB / 480.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.118, allocations: 12.06 kB / 480.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.118, allocations: 0 / 480.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.118, allocations: 8 kB / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.118, allocations: 0 / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.118, allocations: 0 / 480.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1184, allocations: 213.2 kB / 480.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1185, allocations: 132.5 kB / 480.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.1186, allocations: 4 kB / 480.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.1187, allocations: 4 kB / 480.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1187, allocations: 7.984 kB / 480.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1187, allocations: 8 kB / 480.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007291/0.1195, allocations: 0.7682 MB / 481.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1195, allocations: 0 / 481.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1198, allocations: 40 kB / 481.6 MB, free: 2.316 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009118/0.1207, allocations: 418 kB / 482 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.121, allocations: 83.89 kB / 482.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.121, allocations: 3.938 kB / 482.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1211, allocations: 39.92 kB / 482.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1215, allocations: 71.14 kB / 482.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1226, allocations: 0.8705 MB / 483.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.123, allocations: 0.8427 MB / 483.9 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.1231, allocations: 58.94 kB / 484 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.1232, allocations: 31.42 kB / 484 MB, free: 12 kB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1232, allocations: 0 / 484 MB, free: 12 kB / 350.1 MB Notification: Performance of Templates: time 0.007665/0.1309, allocations: 3.721 MB / 487.8 MB, free: 12.31 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches