Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 103 kB / 16.27 MB, free: 5.969 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.001455/0.001455, allocations: 186 kB / 17.19 MB, free: 5.605 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.916/1.916, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2575/0.2575, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001629/0.00163, allocations: 73.67 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1616, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003489/0.1651, allocations: 1.697 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1666, allocations: 0.7961 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1668, allocations: 0 / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.1672, allocations: 91.69 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002812/0.1675, allocations: 83.7 kB / 443.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1678, allocations: 83.72 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.168, allocations: 111.7 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1682, allocations: 8.5 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1683, allocations: 55.77 kB / 443.4 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1684, allocations: 59.81 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1685, allocations: 4 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1686, allocations: 43.98 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.516e-05/0.1686, allocations: 23.92 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.1687, allocations: 39.73 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.1689, allocations: 115.6 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1689, allocations: 3.938 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1689, allocations: 0 / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.169, allocations: 4 kB / 443.7 MB, free: 3.668 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.0005457/0.1695, allocations: 426.8 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1696, allocations: 11.89 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.1696, allocations: 16.84 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.1698, allocations: 215.9 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1699, allocations: 8.359 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1699, allocations: 4.125 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1701, allocations: 53.67 kB / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1701, allocations: 7.938 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1701, allocations: 0 / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1701, allocations: 0 / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.1702, allocations: 15.98 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.1706, allocations: 296.9 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1707, allocations: 54.67 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.1708, allocations: 24.8 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1708, allocations: 4 kB / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.1711, allocations: 67.33 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1711, allocations: 0 / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.1716, allocations: 181.1 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1717, allocations: 51.41 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1719, allocations: 226.6 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1719, allocations: 25.7 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.1719, allocations: 108.1 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.172, allocations: 31.64 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.172, allocations: 21.72 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.1721, allocations: 326.8 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.1722, allocations: 23.98 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.1722, allocations: 37.7 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1723, allocations: 57.66 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1723, allocations: 0 / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001563/0.1725, allocations: 117.4 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1725, allocations: 4 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1725, allocations: 0 / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1726, allocations: 0 / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1727, allocations: 19.98 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1727, allocations: 0 / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.1727, allocations: 4.312 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1728, allocations: 8 kB / 446.1 MB, free: 1.031 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 9.485e-05/0.1729, allocations: 137 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1729, allocations: 11.91 kB / 446.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.173, allocations: 25.44 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.173, allocations: 7.984 kB / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.173, allocations: 0 / 446.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.173, allocations: 3.938 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1734, allocations: 407.2 kB / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1734, allocations: 0 / 446.7 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.1734, allocations: 8 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1734, allocations: 0 / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1735, allocations: 11.92 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1735, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1735, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1737, allocations: 200.3 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.1737, allocations: 89.11 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1737, allocations: 7.938 kB / 447 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.1738, allocations: 7.922 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1739, allocations: 11.94 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1739, allocations: 4 kB / 447 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.1741, allocations: 163.2 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1744, allocations: 24 kB / 447.2 MB, free: 15.83 MB / 334.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.001305/0.1757, allocations: 471.3 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.176, allocations: 63.91 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.176, allocations: 4.062 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1761, allocations: 27.92 kB / 447.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1764, allocations: 27.98 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.177, allocations: 251.1 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1775, allocations: 0.708 MB / 448.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.299e-05/0.1776, allocations: 17.17 kB / 448.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1776, allocations: 15.44 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1776, allocations: 4 kB / 448.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of Templates: time 0.00537/0.183, allocations: 1.712 MB / 450.5 MB, free: 12.59 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches