Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009371, allocations: 97.03 kB / 17.35 MB, free: 6.367 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.0007964/0.0007964, allocations: 176.5 kB / 18.25 MB, free: 5.527 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.397/1.397, allocations: 223.3 MB / 242.3 MB, free: 14.5 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.2037/0.2037, allocations: 44.25 MB / 337.7 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005359/0.0005363, allocations: 11.98 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1456, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00235/0.148, allocations: 1.433 MB / 473.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1495, allocations: 0.8499 MB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.1496, allocations: 0 / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.15, allocations: 87.75 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.1502, allocations: 67.8 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1505, allocations: 102.6 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1507, allocations: 107.6 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1508, allocations: 19.98 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.1509, allocations: 47.77 kB / 475 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.151, allocations: 63.75 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1511, allocations: 4 kB / 475 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1512, allocations: 51.98 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.977e-05/0.1513, allocations: 23.91 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1513, allocations: 65.38 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.1516, allocations: 131.8 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.778e-06/0.1516, allocations: 0 / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1516, allocations: 0 / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1516, allocations: 3.938 kB / 475.3 MB, free: 10.26 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.0006294/0.1522, allocations: 411.1 kB / 475.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1523, allocations: 8.031 kB / 475.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1523, allocations: 16.75 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.1526, allocations: 216.6 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1526, allocations: 8.312 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1527, allocations: 16.05 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1529, allocations: 61.66 kB / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1529, allocations: 0 / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1529, allocations: 0 / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1529, allocations: 0 / 476 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.153, allocations: 23.98 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1535, allocations: 308.6 kB / 476.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1538, allocations: 66.48 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.1539, allocations: 24.97 kB / 476.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.1539, allocations: 4 kB / 476.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.1542, allocations: 71.39 kB / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1542, allocations: 0 / 476.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008703/0.1551, allocations: 233.5 kB / 476.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.1551, allocations: 63.27 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1554, allocations: 222.7 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.1554, allocations: 29.7 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.1555, allocations: 108.1 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.1556, allocations: 43.52 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.1556, allocations: 13.72 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1557, allocations: 338.8 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.1558, allocations: 23.98 kB / 477.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.1559, allocations: 45.7 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1561, allocations: 89.62 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1561, allocations: 0 / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.1563, allocations: 121.5 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1563, allocations: 8.031 kB / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1564, allocations: 0 / 477.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1564, allocations: 4 kB / 477.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.1565, allocations: 23.92 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1565, allocations: 3.938 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1565, allocations: 4 kB / 477.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1566, allocations: 7.984 kB / 477.9 MB, free: 7.449 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 (13): * Single equations (assignments): 13 * 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.0001103/0.1567, allocations: 125.8 kB / 478 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.1567, allocations: 19.91 kB / 478 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.19e-05/0.1568, allocations: 21.33 kB / 478 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1568, allocations: 4 kB / 478 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1568, allocations: 7.875 kB / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1568, allocations: 0 / 478 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.1574, allocations: 447.9 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1574, allocations: 4.062 kB / 478.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1575, allocations: 20 kB / 478.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1575, allocations: 3.938 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1575, allocations: 7.984 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1575, allocations: 0 / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1575, allocations: 0 / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1578, allocations: 229 kB / 478.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1578, allocations: 93 kB / 478.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1579, allocations: 4 kB / 478.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.1579, allocations: 4 kB / 478.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.158, allocations: 15.92 kB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.158, allocations: 7.938 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1582, allocations: 176.3 kB / 479 MB, free: 6.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1582, allocations: 0 / 479 MB, free: 6.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.1585, allocations: 28 kB / 479.1 MB, free: 6.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001289/0.1598, allocations: 0.5059 MB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.16, allocations: 83.86 kB / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.16, allocations: 0 / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1601, allocations: 39.92 kB / 479.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.1605, allocations: 34.09 kB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.1612, allocations: 311.8 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1616, allocations: 0.7197 MB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.1617, allocations: 24.61 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.1617, allocations: 15.44 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1617, allocations: 4.188 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.005357/0.1671, allocations: 1.872 MB / 482.7 MB, free: 2.711 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches