Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 112.1 kB / 17.33 MB, free: 5.988 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.001155/0.001155, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.358/1.358, allocations: 222.9 MB / 241.9 MB, free: 15.36 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.2082/0.2082, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 70.38 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00302/0.1317, allocations: 1.841 MB / 470.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1338, allocations: 1.522 MB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.1339, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.1343, allocations: 47.83 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1346, allocations: 83.67 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1349, allocations: 159.3 kB / 472.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.1352, allocations: 175.5 kB / 472.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.1352, allocations: 9.562 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1354, allocations: 83.56 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.1355, allocations: 75.62 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.1356, allocations: 12 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1357, allocations: 63.97 kB / 472.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1358, allocations: 27.91 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.1359, allocations: 63.59 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1361, allocations: 171.7 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1361, allocations: 3.938 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1361, allocations: 0 / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1361, allocations: 4 kB / 473.1 MB, free: 10.38 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.0005994/0.1367, allocations: 458.7 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1368, allocations: 12.03 kB / 473.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.1368, allocations: 16.75 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.1371, allocations: 243.9 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1371, allocations: 8.312 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1372, allocations: 8.125 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1374, allocations: 97.08 kB / 473.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1374, allocations: 7.984 kB / 473.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1374, allocations: 4 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1374, allocations: 0 / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1375, allocations: 27.92 kB / 473.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1378, allocations: 214.5 kB / 474.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1381, allocations: 105.2 kB / 474.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.86e-05/0.1382, allocations: 45.58 kB / 474.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1382, allocations: 4 kB / 474.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.1385, allocations: 109.1 kB / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1385, allocations: 0 / 474.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004543/0.1389, allocations: 165.4 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.139, allocations: 132.5 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1392, allocations: 211.7 kB / 474.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.1393, allocations: 33.7 kB / 474.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.1393, allocations: 108.1 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.1394, allocations: 31.69 kB / 475.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1395, allocations: 37.66 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1396, allocations: 330.8 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.521e-05/0.1397, allocations: 27.98 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1398, allocations: 65.14 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.14, allocations: 95.38 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.14, allocations: 0 / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002668/0.1403, allocations: 137.8 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1403, allocations: 8 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1403, allocations: 0 / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1403, allocations: 4 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1404, allocations: 31.92 kB / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.1404, allocations: 0 / 475.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.1405, allocations: 15.94 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1406, allocations: 4 kB / 475.8 MB, free: 7.332 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001051/0.1407, allocations: 134.3 kB / 475.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.1407, allocations: 15.81 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.1408, allocations: 24.98 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1408, allocations: 0 / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1408, allocations: 4 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1408, allocations: 4 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.141, allocations: 221.4 kB / 476.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.141, allocations: 3.938 kB / 476.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.141, allocations: 4 kB / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.141, allocations: 4 kB / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.141, allocations: 0 / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.141, allocations: 0 / 476.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.141, allocations: 4 kB / 476.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.1413, allocations: 173.6 kB / 476.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1414, allocations: 88.95 kB / 476.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.1414, allocations: 4 kB / 476.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.1415, allocations: 7.984 kB / 476.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1416, allocations: 11.98 kB / 476.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1416, allocations: 11.98 kB / 476.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.1417, allocations: 152.2 kB / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1417, allocations: 4 kB / 476.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.142, allocations: 39.92 kB / 476.7 MB, free: 6.336 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001025/0.143, allocations: 450.7 kB / 477.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000244/0.1433, allocations: 91.78 kB / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1433, allocations: 0 / 477.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.1434, allocations: 44.28 kB / 477.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1438, allocations: 69.84 kB / 477.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1443, allocations: 295.9 kB / 477.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1446, allocations: 0.7163 MB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.1447, allocations: 29.52 kB / 478.4 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1447, allocations: 27.42 kB / 478.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1448, allocations: 4 kB / 478.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of Templates: time 0.005453/0.1502, allocations: 2.622 MB / 481 MB, free: 2.16 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches