Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 110.5 kB / 17.86 MB, free: 5.504 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.001052/0.001052, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.346/1.346, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2164/0.2164, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.2 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003803/0.1198, allocations: 1.846 MB / 471 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1213, allocations: 0.9511 MB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1214, allocations: 4 kB / 472 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.122, allocations: 295.4 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.1223, allocations: 199.5 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1227, allocations: 154.8 kB / 472.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.123, allocations: 235.4 kB / 472.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.123, allocations: 5.562 kB / 472.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.1232, allocations: 123.5 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.1234, allocations: 187.5 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.1234, allocations: 4 kB / 473.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1235, allocations: 43.92 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1237, allocations: 131.6 kB / 473.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1239, allocations: 142.8 kB / 473.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1242, allocations: 279.9 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1242, allocations: 0 / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1242, allocations: 7.938 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1242, allocations: 0 / 473.8 MB, free: 10.24 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.0009349/0.1251, allocations: 0.7268 MB / 474.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1252, allocations: 12.03 kB / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.1253, allocations: 48.28 kB / 474.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.1259, allocations: 447.9 kB / 475 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1259, allocations: 384 / 475 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1259, allocations: 12.12 kB / 475 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1261, allocations: 91.28 kB / 475.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1261, allocations: 0 / 475.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1262, allocations: 4 kB / 475.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1262, allocations: 0 / 475.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1263, allocations: 27.97 kB / 475.1 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.1267, allocations: 374.4 kB / 475.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.127, allocations: 109.2 kB / 475.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.1271, allocations: 41.64 kB / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.1271, allocations: 0 / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.1274, allocations: 116.9 kB / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1274, allocations: 0 / 475.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004994/0.1279, allocations: 201.2 kB / 475.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.128, allocations: 81.11 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.1293, allocations: 1.034 MB / 477 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1293, allocations: 25.7 kB / 477.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1295, allocations: 236.1 kB / 477.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.1295, allocations: 31.5 kB / 477.3 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1296, allocations: 29.7 kB / 477.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1297, allocations: 370.8 kB / 477.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.659e-05/0.1298, allocations: 27.98 kB / 477.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1299, allocations: 63.41 kB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1301, allocations: 83.36 kB / 477.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1301, allocations: 0 / 477.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002868/0.1304, allocations: 176.9 kB / 478.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1304, allocations: 10.72 kB / 478.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1305, allocations: 3.984 kB / 478.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1305, allocations: 4 kB / 478.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.1306, allocations: 19.98 kB / 478.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1306, allocations: 7.938 kB / 478.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.1307, allocations: 7.906 kB / 478.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1307, allocations: 4 kB / 478.1 MB, free: 5.582 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.0002223/0.131, allocations: 234.5 kB / 478.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.131, allocations: 47.34 kB / 478.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.43e-05/0.1311, allocations: 64 kB / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1311, allocations: 0 / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1311, allocations: 4 kB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1311, allocations: 4 kB / 478.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.1314, allocations: 341.4 kB / 478.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1314, allocations: 4 kB / 478.8 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.1315, allocations: 4 kB / 478.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1315, allocations: 0 / 478.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1315, allocations: 11.98 kB / 478.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1315, allocations: 0 / 478.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1315, allocations: 4 kB / 478.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.1319, allocations: 201.2 kB / 479 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.132, allocations: 136.5 kB / 479.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.132, allocations: 4 kB / 479.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.1321, allocations: 11.97 kB / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1322, allocations: 7.984 kB / 479.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1322, allocations: 11.94 kB / 479.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007413/0.133, allocations: 0.7682 MB / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.133, allocations: 0 / 480 MB, free: 3.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1332, allocations: 47.92 kB / 480 MB, free: 3.598 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.0009771/0.1342, allocations: 415.4 kB / 480.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.1345, allocations: 79.91 kB / 480.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1345, allocations: 4.125 kB / 480.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1346, allocations: 43.91 kB / 480.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.135, allocations: 67.98 kB / 480.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1363, allocations: 0.999 MB / 481.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.1367, allocations: 0.8391 MB / 482.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.1368, allocations: 35.42 kB / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1368, allocations: 0 / 482.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of Templates: time 0.008094/0.1449, allocations: 5.056 MB / 487.5 MB, free: 12.16 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches