Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 106.4 kB / 17.2 MB, free: 6.273 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.001906/0.001906, allocations: 194 kB / 18.12 MB, free: 5.363 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.559/1.559, allocations: 222.9 MB / 241.8 MB, free: 13.78 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.2121/0.2121, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 69.73 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.138, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003566/0.1416, allocations: 1.765 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1432, allocations: 0.8614 MB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.1434, allocations: 7.938 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1437, allocations: 27.89 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1439, allocations: 55.81 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1443, allocations: 91.72 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1445, allocations: 99.67 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1446, allocations: 12.23 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1447, allocations: 39.8 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.534e-05/0.1448, allocations: 27.84 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1448, allocations: 7.984 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.145, allocations: 39.98 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.145, allocations: 15.92 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1451, allocations: 35.69 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.1453, allocations: 111.9 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1453, allocations: 0 / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1453, allocations: 4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1453, allocations: 0 / 471.7 MB, free: 11.62 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.0005713/0.1459, allocations: 418.9 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.146, allocations: 8.031 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.146, allocations: 12.78 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1463, allocations: 216.8 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1463, allocations: 384 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.1463, allocations: 12.06 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1465, allocations: 57.67 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1465, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1465, allocations: 0 / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1465, allocations: 4 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.1466, allocations: 15.98 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.147, allocations: 292.8 kB / 472.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.1472, allocations: 62.61 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.1473, allocations: 24.84 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.1473, allocations: 0 / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1475, allocations: 63.39 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1475, allocations: 0 / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006048/0.1481, allocations: 189.3 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1482, allocations: 55.41 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.1484, allocations: 191.3 kB / 473.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1484, allocations: 29.7 kB / 473.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1486, allocations: 104.1 kB / 473.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1486, allocations: 19.72 kB / 473.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1487, allocations: 25.7 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1488, allocations: 326.8 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.1489, allocations: 23.88 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.1489, allocations: 41.7 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.149, allocations: 61.77 kB / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1491, allocations: 0 / 473.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001813/0.1492, allocations: 97.53 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1493, allocations: 4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1493, allocations: 0 / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1493, allocations: 8.016 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1494, allocations: 20 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1494, allocations: 0 / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1495, allocations: 3.938 kB / 474.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1495, allocations: 4 kB / 474.1 MB, free: 9.039 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 ($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 (10): * Single equations (assignments): 10 * 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.0001088/0.1496, allocations: 141.3 kB / 474.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1496, allocations: 12 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.1497, allocations: 17.39 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1497, allocations: 7.938 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1497, allocations: 4 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1497, allocations: 3.938 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.1502, allocations: 391.3 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1502, allocations: 0 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.1502, allocations: 8 kB / 474.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1502, allocations: 3.984 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1503, allocations: 3.938 kB / 474.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1503, allocations: 4 kB / 474.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1503, allocations: 4.031 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1505, allocations: 208.1 kB / 474.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.1506, allocations: 85.02 kB / 474.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1507, allocations: 3.938 kB / 474.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1507, allocations: 3.984 kB / 474.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1508, allocations: 8 kB / 474.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1508, allocations: 8 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.151, allocations: 152.9 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.151, allocations: 0 / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1513, allocations: 23.98 kB / 475.1 MB, free: 7.867 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 (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.001249/0.1525, allocations: 471 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1528, allocations: 55.91 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1528, allocations: 0 / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1529, allocations: 35.92 kB / 475.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.1533, allocations: 27.97 kB / 475.7 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.1541, allocations: 253 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006486/0.1548, allocations: 0.7121 MB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.1549, allocations: 12.89 kB / 476.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.1549, allocations: 23.42 kB / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.155, allocations: 0 / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of Templates: time 0.005727/0.1607, allocations: 1.644 MB / 478.3 MB, free: 4.789 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches