Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 93.36 kB / 16.98 MB, free: 5.938 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.001514/0.001514, allocations: 187.6 kB / 17.88 MB, free: 5.594 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.401/1.401, allocations: 223.2 MB / 241.8 MB, free: 364 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.23 MB / 337.1 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 12 kB / 409.5 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 61.92 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.0027/0.1486, allocations: 1.579 MB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1504, allocations: 0.8231 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1506, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.1511, allocations: 35.77 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.1514, allocations: 47.88 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.1518, allocations: 107.7 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1521, allocations: 83.78 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1522, allocations: 25.47 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1524, allocations: 47.78 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1525, allocations: 35.78 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1525, allocations: 8 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1527, allocations: 31.92 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1527, allocations: 27.8 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.1528, allocations: 37.64 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1531, allocations: 108 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1531, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1531, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1531, allocations: 0 / 474.4 MB, free: 10.7 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008953/0.154, allocations: 468.4 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.154, allocations: 8.031 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.205e-05/0.1541, allocations: 15.81 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1545, allocations: 214.8 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.1545, allocations: 12 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1545, allocations: 4 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1549, allocations: 116.2 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1549, allocations: 0 / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.1549, allocations: 0 / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1549, allocations: 0 / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1551, allocations: 55.91 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/0.1557, allocations: 0.5125 MB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1561, allocations: 90.66 kB / 475.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1561, allocations: 4 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.1564, allocations: 83.31 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.1564, allocations: 0 / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004894/0.1569, allocations: 149.5 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.157, allocations: 55.41 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1572, allocations: 187.4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1572, allocations: 33.7 kB / 476.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.1573, allocations: 112 kB / 476.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1573, allocations: 23.66 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.1574, allocations: 384 / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1575, allocations: 330.8 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.1576, allocations: 39.97 kB / 476.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1577, allocations: 59.16 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.1578, allocations: 47.86 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1578, allocations: 0 / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002634/0.1581, allocations: 145.3 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1581, allocations: 8 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1582, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1582, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1583, allocations: 32.05 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1583, allocations: 4 kB / 477.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.937e-05/0.1584, allocations: 11.84 kB / 477.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1584, allocations: 7.984 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.1585, allocations: 132.7 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1586, allocations: 11.81 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.1586, allocations: 21.39 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1586, allocations: 4 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1586, allocations: 4 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1587, allocations: 0 / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.1589, allocations: 213.7 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1589, allocations: 0 / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.692e-05/0.159, allocations: 15.94 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.159, allocations: 0 / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.159, allocations: 3.984 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.159, allocations: 0 / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.159, allocations: 0 / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.1594, allocations: 196.8 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1594, allocations: 96.97 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1595, allocations: 0 / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.1595, allocations: 8 kB / 477.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.1596, allocations: 8.047 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.1596, allocations: 12 kB / 477.9 MB, free: 6.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1598, allocations: 137.2 kB / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 478.1 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.16, allocations: 32.03 kB / 478.1 MB, free: 6.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.1612, allocations: 404 kB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1615, allocations: 91.95 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1615, allocations: 0 / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1616, allocations: 35.98 kB / 478.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.1619, allocations: 38.77 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.1626, allocations: 290.3 kB / 478.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.163, allocations: 0.7165 MB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.1631, allocations: 29.39 kB / 479.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.1632, allocations: 23.42 kB / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1632, allocations: 0 / 479.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Templates: time 0.005779/0.169, allocations: 1.721 MB / 481.4 MB, free: 3.484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches