Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.39 kB / 15.98 MB, free: 6.34 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.001605/0.001605, allocations: 198.2 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2395/0.2395, allocations: 43.51 MB / 313.6 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002797/0.002797, allocations: 67.91 kB / 382.2 MB, free: 56.92 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1455, allocations: 57.79 MB / 440 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003291/0.1488, allocations: 1.757 MB / 441.8 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1502, allocations: 0.7851 MB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.162e-05/0.1503, allocations: 0 / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1507, allocations: 47.88 kB / 442.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.151, allocations: 47.83 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1512, allocations: 87.45 kB / 442.7 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1514, allocations: 99.64 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1516, allocations: 24.47 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.869e-05/0.1517, allocations: 39.8 kB / 442.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.1518, allocations: 31.8 kB / 442.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1518, allocations: 4 kB / 442.9 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-05/0.1519, allocations: 43.97 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.152, allocations: 27.91 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.152, allocations: 43.62 kB / 443 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1523, allocations: 131.5 kB / 443.2 MB, free: 4.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1523, allocations: 4 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1523, allocations: 0 / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1523, allocations: 0 / 443.2 MB, free: 4.172 MB / 318.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.0006282/0.1529, allocations: 446.6 kB / 443.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.153, allocations: 11.89 kB / 443.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.153, allocations: 12.84 kB / 443.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1533, allocations: 215.5 kB / 443.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1533, allocations: 4.375 kB / 443.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1533, allocations: 15.97 kB / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1535, allocations: 53.67 kB / 443.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1535, allocations: 0 / 443.9 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1536, allocations: 4 kB / 443.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1536, allocations: 0 / 443.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.147e-05/0.1537, allocations: 19.98 kB / 443.9 MB, free: 3.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1541, allocations: 296.9 kB / 444.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1543, allocations: 62.62 kB / 444.3 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1543, allocations: 20.84 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1544, allocations: 0 / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.1546, allocations: 71.39 kB / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.1546, allocations: 0 / 444.4 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005941/0.1552, allocations: 185 kB / 444.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1553, allocations: 59.41 kB / 444.6 MB, free: 2.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1555, allocations: 254.8 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1555, allocations: 25.7 kB / 444.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.1556, allocations: 116 kB / 445 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1556, allocations: 23.73 kB / 445 MB, free: 2.102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.1557, allocations: 25.72 kB / 445.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.1557, allocations: 326.8 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.1558, allocations: 27.92 kB / 445.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.907e-05/0.1559, allocations: 37.7 kB / 445.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.156, allocations: 53.89 kB / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.156, allocations: 0 / 445.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001552/0.1561, allocations: 117.3 kB / 445.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1562, allocations: 4 kB / 445.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1562, allocations: 8.031 kB / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1562, allocations: 0 / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.719e-05/0.1563, allocations: 15.98 kB / 445.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1563, allocations: 0 / 445.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1564, allocations: 7.938 kB / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.1564, allocations: 8 kB / 445.7 MB, free: 1.449 MB / 318.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.000105/0.1565, allocations: 137.7 kB / 445.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.1565, allocations: 11.81 kB / 445.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.1566, allocations: 29.39 kB / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1566, allocations: 0 / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1566, allocations: 0 / 445.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1566, allocations: 7.938 kB / 445.8 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1569, allocations: 403.2 kB / 446.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1569, allocations: 0 / 446.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.157, allocations: 8 kB / 446.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.157, allocations: 0 / 446.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.157, allocations: 7.969 kB / 446.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.157, allocations: 11.98 kB / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.157, allocations: 384 / 446.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1572, allocations: 200.2 kB / 446.5 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.1572, allocations: 88.92 kB / 446.5 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.1573, allocations: 11.94 kB / 446.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1573, allocations: 4 kB / 446.6 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1574, allocations: 11.98 kB / 446.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1574, allocations: 4 kB / 446.6 MB, free: 436 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1575, allocations: 200.2 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1575, allocations: 0 / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1578, allocations: 27.98 kB / 446.8 MB, free: 208 kB / 318.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.001081/0.1589, allocations: 472.1 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1591, allocations: 59.91 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1591, allocations: 0 / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.215e-05/0.1592, allocations: 31.94 kB / 447.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1595, allocations: 27.97 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1601, allocations: 319.9 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1606, allocations: 0.7197 MB / 448.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.1606, allocations: 12.88 kB / 448.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.1607, allocations: 15.44 kB / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1607, allocations: 0 / 448.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of Templates: time 0.005524/0.1662, allocations: 1.704 MB / 450.1 MB, free: 12.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches