Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001235, allocations: 107.3 kB / 18.4 MB, free: 4.699 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.001191/0.001191, allocations: 192 kB / 19.34 MB, free: 3.766 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.578/1.578, allocations: 222.9 MB / 243 MB, free: 15.18 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.2733/0.2733, allocations: 44.17 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.03 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 60.84 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003537/0.1507, allocations: 1.702 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1522, allocations: 0.8847 MB / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.191e-05/0.1523, allocations: 0 / 473.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.1526, allocations: 47.75 kB / 473.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1529, allocations: 55.77 kB / 473.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1532, allocations: 103.6 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1534, allocations: 99.69 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.1536, allocations: 20.22 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.533e-05/0.1536, allocations: 31.8 kB / 473.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.1538, allocations: 35.84 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1538, allocations: 4 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1539, allocations: 39.98 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.154, allocations: 27.86 kB / 473.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.443e-05/0.154, allocations: 43.66 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1543, allocations: 119.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1543, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1543, allocations: 4 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1543, allocations: 0 / 473.9 MB, free: 10.45 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.0006583/0.155, allocations: 422.9 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.155, allocations: 8.031 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1551, allocations: 16.75 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1554, allocations: 208 kB / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1555, allocations: 384 / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1555, allocations: 12.12 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1557, allocations: 53.67 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.1557, allocations: 3.984 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1557, allocations: 4 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1557, allocations: 7.938 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.1558, allocations: 19.98 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1563, allocations: 300.7 kB / 475 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1564, allocations: 62.62 kB / 475 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.1565, allocations: 20.84 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1565, allocations: 0 / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/0.1567, allocations: 67.39 kB / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1567, allocations: 0 / 475.1 MB, free: 9.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005941/0.1573, allocations: 169.2 kB / 475.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.1574, allocations: 55.41 kB / 475.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.1577, allocations: 226.7 kB / 475.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1577, allocations: 29.7 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.1578, allocations: 112 kB / 475.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1578, allocations: 23.66 kB / 475.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1579, allocations: 25.7 kB / 475.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1581, allocations: 330.8 kB / 476.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.1581, allocations: 16 kB / 476.1 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.808e-05/0.1582, allocations: 41.64 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1583, allocations: 61.7 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1583, allocations: 0 / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.1585, allocations: 101.5 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1585, allocations: 8 kB / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1586, allocations: 0 / 476.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1586, allocations: 4.031 kB / 476.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.1587, allocations: 19.94 kB / 476.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1587, allocations: 4 kB / 476.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.913e-05/0.1588, allocations: 7.922 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1588, allocations: 4 kB / 476.3 MB, free: 7.809 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.0001334/0.1589, allocations: 126.9 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.1589, allocations: 15.8 kB / 476.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.159, allocations: 17.41 kB / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.159, allocations: 0 / 476.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.159, allocations: 4 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.159, allocations: 3.938 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.1595, allocations: 399.3 kB / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1595, allocations: 384 / 476.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.1595, allocations: 8.188 kB / 476.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1595, allocations: 4 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1596, allocations: 11.88 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1596, allocations: 4 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1596, allocations: 4.031 kB / 476.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1598, allocations: 204.4 kB / 477.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1599, allocations: 85.02 kB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1599, allocations: 7.938 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.16, allocations: 4 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.16, allocations: 7.984 kB / 477.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.16, allocations: 8 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1602, allocations: 167.2 kB / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1602, allocations: 0 / 477.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1604, allocations: 27.98 kB / 477.4 MB, free: 6.617 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.001072/0.1615, allocations: 471.6 kB / 477.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1617, allocations: 59.91 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1617, allocations: 0 / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.1618, allocations: 27.94 kB / 478 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1622, allocations: 27.97 kB / 478 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.1627, allocations: 258.9 kB / 478.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1631, allocations: 0.7236 MB / 479 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.1631, allocations: 9.203 kB / 479 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.1632, allocations: 19.42 kB / 479 MB, free: 5.164 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1632, allocations: 0 / 479 MB, free: 5.164 MB / 350.1 MB Notification: Performance of Templates: time 0.004602/0.1678, allocations: 1.715 MB / 480.7 MB, free: 3.461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches