Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 103.9 kB / 16.27 MB, free: 5.863 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.0021/0.0021, allocations: 192.7 kB / 17.2 MB, free: 5.508 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.815/1.815, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.258/0.258, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001661/0.001661, allocations: 75.25 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003804/0.1502, allocations: 1.697 MB / 442.2 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1517, allocations: 0.7961 MB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1519, allocations: 0 / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.1523, allocations: 115.7 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1526, allocations: 87.7 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1529, allocations: 83.7 kB / 443.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1531, allocations: 111.7 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1532, allocations: 16.5 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1534, allocations: 51.78 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.1535, allocations: 55.81 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1535, allocations: 4 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.1537, allocations: 43.98 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.1538, allocations: 23.91 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.509e-05/0.1539, allocations: 43.67 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1542, allocations: 123.6 kB / 443.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.1542, allocations: 0 / 443.8 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1542, allocations: 4 kB / 443.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1542, allocations: 3.938 kB / 443.8 MB, free: 3.652 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.0007913/0.155, allocations: 426.8 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1551, allocations: 15.89 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.144e-05/0.1552, allocations: 12.75 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1554, allocations: 220.8 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1555, allocations: 4.375 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1555, allocations: 4.125 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1557, allocations: 57.67 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1557, allocations: 4 kB / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1558, allocations: 0 / 444.5 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1558, allocations: 3.938 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.472e-05/0.1559, allocations: 23.98 kB / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.1563, allocations: 288.9 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1565, allocations: 58.69 kB / 444.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.929e-05/0.1565, allocations: 24.78 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.1566, allocations: 3.938 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.1568, allocations: 67.33 kB / 445 MB, free: 2.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.1569, allocations: 4 kB / 445 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006776/0.1575, allocations: 177 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1576, allocations: 55.41 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1578, allocations: 234.4 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1578, allocations: 25.7 kB / 445.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.1579, allocations: 116.1 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.158, allocations: 23.7 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.158, allocations: 21.72 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1581, allocations: 334.8 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.632e-05/0.1582, allocations: 16 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.1583, allocations: 37.7 kB / 446 MB, free: 1.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1584, allocations: 61.64 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1584, allocations: 0 / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1586, allocations: 109.4 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1586, allocations: 4 kB / 446.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1586, allocations: 4 kB / 446.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.1587, allocations: 8.016 kB / 446.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1588, allocations: 12 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1588, allocations: 384 / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.1588, allocations: 7.938 kB / 446.2 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1589, allocations: 4 kB / 446.2 MB, free: 0.9922 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.0001354/0.159, allocations: 133.8 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.159, allocations: 19.81 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.1591, allocations: 17.39 kB / 446.4 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1591, allocations: 4 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1591, allocations: 7.938 kB / 446.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1592, allocations: 3.938 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.1596, allocations: 399.4 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1596, allocations: 0 / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.1596, allocations: 11.94 kB / 446.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1596, allocations: 0 / 446.8 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1597, allocations: 3.938 kB / 446.8 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1597, allocations: 4 kB / 446.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1597, allocations: 4.031 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1599, allocations: 208.4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.16, allocations: 89.12 kB / 447.1 MB, free: 16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.1601, allocations: 7.875 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1601, allocations: 4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.1602, allocations: 19.92 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1602, allocations: 4 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.1604, allocations: 180.3 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1605, allocations: 0 / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.1608, allocations: 27.91 kB / 447.3 MB, free: 15.76 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.001521/0.1623, allocations: 474.8 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1625, allocations: 59.91 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1626, allocations: 4 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.1626, allocations: 23.98 kB / 447.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.163, allocations: 23.98 kB / 447.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006511/0.1637, allocations: 279.4 kB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1642, allocations: 0.7196 MB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.168e-05/0.1642, allocations: 9.203 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.1643, allocations: 23.42 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1643, allocations: 0 / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Templates: time 0.006621/0.1709, allocations: 1.719 MB / 450.6 MB, free: 12.48 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches