Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 93.62 kB / 17 MB, free: 6.121 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.001181/0.001181, allocations: 183 kB / 17.89 MB, free: 5.699 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.55/1.55, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 15.98 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00266/0.1309, allocations: 1.394 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1331, allocations: 1.367 MB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.1333, allocations: 4 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1336, allocations: 35.83 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.1338, allocations: 47.83 kB / 474.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1341, allocations: 90.83 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.1343, allocations: 87.69 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1345, allocations: 4.234 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.1346, allocations: 39.78 kB / 474.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1347, allocations: 35.84 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.1347, allocations: 0 / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1349, allocations: 51.97 kB / 474.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.007e-05/0.1349, allocations: 11.94 kB / 474.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.135, allocations: 37.64 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1351, allocations: 92.08 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1351, allocations: 0 / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1352, allocations: 0 / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1352, allocations: 7.938 kB / 474.9 MB, free: 10.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005587/0.1357, allocations: 387.1 kB / 475.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.1358, allocations: 12.03 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1358, allocations: 15.8 kB / 475.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1361, allocations: 193.2 kB / 475.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1361, allocations: 3.953 kB / 475.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1361, allocations: 8 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1363, allocations: 79.25 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1363, allocations: 0 / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1364, allocations: 0 / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1364, allocations: 4 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.1364, allocations: 19.98 kB / 475.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.1368, allocations: 280.8 kB / 475.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.137, allocations: 58.62 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1371, allocations: 24.84 kB / 476 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.1371, allocations: 4 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.1373, allocations: 67.39 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1374, allocations: 3.938 kB / 476 MB, free: 9.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006728/0.138, allocations: 177.2 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/0.1382, allocations: 77.11 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1384, allocations: 157.8 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/0.1385, allocations: 29.7 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1385, allocations: 92.14 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1386, allocations: 27.69 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.1386, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1387, allocations: 322.8 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1388, allocations: 19.94 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.1389, allocations: 42.56 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.1389, allocations: 28.02 kB / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1389, allocations: 0 / 477 MB, free: 8.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1391, allocations: 97.53 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1392, allocations: 4 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1392, allocations: 4 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1392, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.1393, allocations: 15.98 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1393, allocations: 0 / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1393, allocations: 11.97 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.1394, allocations: 11.95 kB / 477.1 MB, free: 7.883 MB / 350.1 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 (10): * Single equations (assignments): 10 * 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.947e-05/0.1395, allocations: 118.4 kB / 477.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1395, allocations: 19.75 kB / 477.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.1396, allocations: 8.719 kB / 477.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1396, allocations: 4 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1396, allocations: 0 / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1396, allocations: 192 / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.14, allocations: 399.3 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.14, allocations: 3.938 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.1401, allocations: 8 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1401, allocations: 0 / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1401, allocations: 4 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1401, allocations: 0 / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1401, allocations: 3.953 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1403, allocations: 204.3 kB / 477.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.1404, allocations: 81.02 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.1404, allocations: 11.94 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1405, allocations: 11.92 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1405, allocations: 7.953 kB / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1406, allocations: 384 / 478 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.114e-05/0.1407, allocations: 117.7 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 8 kB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1409, allocations: 31.98 kB / 478.2 MB, free: 6.754 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001198/0.1422, allocations: 0.5001 MB / 478.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.1424, allocations: 55.91 kB / 478.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1424, allocations: 0 / 478.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.1425, allocations: 31.94 kB / 478.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1428, allocations: 27.97 kB / 478.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1433, allocations: 210.2 kB / 479 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.1437, allocations: 0.7014 MB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.297e-05/0.1438, allocations: 17.19 kB / 479.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.1438, allocations: 15.44 kB / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1438, allocations: 0 / 479.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Templates: time 0.004962/0.1488, allocations: 1.851 MB / 481.6 MB, free: 3.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches