Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,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.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,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.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008141, allocations: 95.06 kB / 17 MB, free: 6.398 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.0009041/0.0009043, allocations: 177.2 kB / 17.89 MB, free: 5.945 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.543/1.543, allocations: 223.3 MB / 241.9 MB, free: 220 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.2605/0.2605, allocations: 44.26 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1507, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002597/0.1533, allocations: 1.398 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1551, allocations: 0.8193 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1552, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1556, allocations: 27.84 kB / 473.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1559, allocations: 47.83 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.1564, allocations: 91.75 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1566, allocations: 83.75 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1567, allocations: 20.23 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1569, allocations: 35.8 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.157, allocations: 31.83 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.157, allocations: 4 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1572, allocations: 55.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.1572, allocations: 19.91 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1573, allocations: 37.7 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.1575, allocations: 92.08 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.1575, allocations: 0 / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1575, allocations: 3.938 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1575, allocations: 4 kB / 474.4 MB, free: 10.91 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.000677/0.1582, allocations: 395 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1583, allocations: 8.562 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.1584, allocations: 7.906 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1587, allocations: 197.2 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1587, allocations: 7.953 kB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1587, allocations: 7.906 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.159, allocations: 71.38 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.159, allocations: 4 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.159, allocations: 0 / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.159, allocations: 0 / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.1591, allocations: 23.92 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.1596, allocations: 268.9 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1599, allocations: 70.61 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.16, allocations: 28.91 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.16, allocations: 3.938 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1603, allocations: 71.38 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 4.618e-06/0.1603, allocations: 3.984 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007812/0.1611, allocations: 201.5 kB / 475.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.1612, allocations: 81.11 kB / 475.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1614, allocations: 158.2 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1615, allocations: 29.7 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.1616, allocations: 92.33 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.1616, allocations: 31.64 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.1617, allocations: 0 / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1619, allocations: 326.8 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.162, allocations: 35.92 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.132e-05/0.1621, allocations: 50.55 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.1622, allocations: 32 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1622, allocations: 4 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002582/0.1624, allocations: 125.4 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1625, allocations: 4 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1625, allocations: 8.078 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1625, allocations: 8 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1626, allocations: 20 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.1627, allocations: 160 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.1627, allocations: 7.984 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1627, allocations: 7.984 kB / 476.7 MB, free: 8.328 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001335/0.1629, allocations: 128.5 kB / 476.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1629, allocations: 11.91 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.163, allocations: 12.7 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.163, allocations: 8 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.163, allocations: 0 / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.163, allocations: 0 / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.1636, allocations: 419.2 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1637, allocations: 4 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.1637, allocations: 15.92 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1637, allocations: 0 / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1637, allocations: 8.031 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1637, allocations: 0 / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1638, allocations: 0 / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1641, allocations: 220.2 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.1642, allocations: 89.02 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1642, allocations: 0 / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.1643, allocations: 11.98 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.1644, allocations: 8 kB / 477.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.1644, allocations: 11.94 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.1645, allocations: 113.3 kB / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 477.7 MB, free: 7.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1648, allocations: 35.98 kB / 477.8 MB, free: 7.148 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 (10): * Single equations (assignments): 8 * 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.001285/0.1661, allocations: 0.5177 MB / 478.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1664, allocations: 79.84 kB / 478.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.1664, allocations: 3.938 kB / 478.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.1665, allocations: 35.98 kB / 478.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1668, allocations: 22.05 kB / 478.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1674, allocations: 230.8 kB / 478.7 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1676, allocations: 0.7043 MB / 479.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.091e-05/0.1677, allocations: 20.62 kB / 479.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.1678, allocations: 27.42 kB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1678, allocations: 0 / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of Templates: time 0.006699/0.1745, allocations: 1.967 MB / 481.4 MB, free: 3.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches