Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 101.1 kB / 16.26 MB, free: 5.93 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.001125/0.001125, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.957/1.957, 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.2801/0.2801, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001527/0.001527, allocations: 74.67 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1606, allocations: 57.8 MB / 440.5 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004735/0.1654, allocations: 1.689 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1667, allocations: 0.7961 MB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.1668, allocations: 0 / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004119/0.1673, allocations: 91.69 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.1676, allocations: 79.72 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1678, allocations: 83.77 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.168, allocations: 111.7 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1682, allocations: 16.5 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1683, allocations: 47.78 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1685, allocations: 63.75 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1685, allocations: 8 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1686, allocations: 47.97 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1687, allocations: 19.92 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.1688, allocations: 31.75 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.169, allocations: 127.5 kB / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.169, allocations: 0 / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.169, allocations: 0 / 443.7 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.169, allocations: 0 / 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.0006988/0.1698, allocations: 426.8 kB / 444.1 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.1698, allocations: 15.89 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1699, allocations: 16.84 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1701, allocations: 219.9 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.1701, allocations: 384 / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1702, allocations: 12.12 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1704, allocations: 49.67 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1704, allocations: 0 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1704, allocations: 4 kB / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1704, allocations: 0 / 444.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1705, allocations: 23.92 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.1708, allocations: 288.9 kB / 444.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.171, allocations: 58.67 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.171, allocations: 16.86 kB / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1711, allocations: 0 / 444.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.1713, allocations: 83.25 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1713, allocations: 0 / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005452/0.1718, allocations: 173.1 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1719, allocations: 51.41 kB / 445.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.1721, allocations: 230.6 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.1721, allocations: 25.7 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.1722, allocations: 108.1 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1722, allocations: 31.64 kB / 445.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.1723, allocations: 21.72 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.063e-05/0.1723, allocations: 330.8 kB / 445.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.1724, allocations: 19.98 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.1724, allocations: 33.7 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.591e-05/0.1726, allocations: 65.64 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1726, allocations: 4 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001521/0.1727, allocations: 93.5 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1727, allocations: 4 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1728, allocations: 4 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.1728, allocations: 0 / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1729, allocations: 19.92 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1729, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.626e-05/0.173, allocations: 12.31 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.173, allocations: 4.031 kB / 446.1 MB, free: 1.035 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.0001103/0.1731, allocations: 137.8 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.1731, allocations: 7.906 kB / 446.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.1732, allocations: 29.33 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1732, allocations: 0 / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1732, allocations: 0 / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1732, allocations: 3.938 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1736, allocations: 403.2 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1736, allocations: 3.984 kB / 446.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.1736, allocations: 11.94 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1737, allocations: 3.984 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1737, allocations: 3.938 kB / 446.7 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1737, allocations: 4 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1737, allocations: 0 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1739, allocations: 204.3 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.1739, allocations: 89.11 kB / 447 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.174, allocations: 3.938 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.174, allocations: 15.92 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.996e-05/0.1741, allocations: 4 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1741, allocations: 0 / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1743, allocations: 171.2 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1743, allocations: 0 / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1746, allocations: 20 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.001205/0.1758, allocations: 482.2 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.176, allocations: 63.91 kB / 447.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.176, allocations: 4.062 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.1761, allocations: 27.98 kB / 447.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1765, allocations: 21.19 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.1771, allocations: 251.1 kB / 448 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1774, allocations: 0.708 MB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.1775, allocations: 17.19 kB / 448.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.1775, allocations: 19.44 kB / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1776, allocations: 4 kB / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.004807/0.1824, allocations: 1.706 MB / 450.5 MB, free: 12.58 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches