Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.52 kB / 16.98 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.0009643/0.0009646, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.412/1.412, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2468/0.2468, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003412, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.151, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002071/0.1531, allocations: 1.387 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1544, allocations: 0.7881 MB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.1545, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1548, allocations: 35.77 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.155, allocations: 39.89 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.1553, allocations: 91.7 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1555, allocations: 63.84 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1556, allocations: 12.17 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.1557, allocations: 39.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.1558, allocations: 23.86 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1558, allocations: 4 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.1559, allocations: 27.97 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.1559, allocations: 19.92 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.1561, allocations: 37.64 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1562, allocations: 80.09 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1562, allocations: 0 / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1563, allocations: 3.938 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1563, allocations: 0 / 474.1 MB, free: 11.05 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.0006279/0.1569, allocations: 395 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.157, allocations: 8.031 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.157, allocations: 11.91 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.1573, allocations: 194.9 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1573, allocations: 4 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1573, allocations: 3.938 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1575, allocations: 57.62 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1575, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1575, allocations: 3.984 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1576, allocations: 11.98 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.806e-05/0.1576, allocations: 12 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.1581, allocations: 288.8 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1582, allocations: 62.61 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1583, allocations: 3.984 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1585, allocations: 71.52 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1585, allocations: 0 / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.1591, allocations: 161.3 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1591, allocations: 55.41 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1593, allocations: 168.5 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1593, allocations: 33.62 kB / 475.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.1594, allocations: 104 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.1595, allocations: 23.73 kB / 475.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.1595, allocations: 4 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.1597, allocations: 322.8 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.1597, allocations: 16 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.1598, allocations: 41.58 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.1599, allocations: 31.94 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1599, allocations: 4 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001684/0.1601, allocations: 105.4 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1601, allocations: 4 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1601, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1601, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1602, allocations: 19.98 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1603, allocations: 0 / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.803e-05/0.1603, allocations: 8 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1603, allocations: 384 / 476.3 MB, free: 8.648 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 (10): * Single equations (assignments): 10 * 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.000118/0.1604, allocations: 130.3 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.1605, allocations: 7.906 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.1605, allocations: 16.72 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1605, allocations: 0 / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1605, allocations: 4 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1605, allocations: 0 / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.161, allocations: 391.3 kB / 476.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.161, allocations: 8.016 kB / 476.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.161, allocations: 11.94 kB / 476.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1611, allocations: 4 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1611, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1611, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1611, allocations: 0 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1613, allocations: 222.1 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1614, allocations: 93 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1614, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.1615, allocations: 0 / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.1615, allocations: 11.92 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.1616, allocations: 8 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1617, allocations: 138.7 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1617, allocations: 0 / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.162, allocations: 27.94 kB / 477.3 MB, free: 7.48 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 (8): * Single equations (assignments): 6 * 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.001063/0.163, allocations: 468.5 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1632, allocations: 59.91 kB / 477.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1633, allocations: 4.062 kB / 477.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1633, allocations: 24 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.1636, allocations: 23.97 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.1641, allocations: 237.8 kB / 478.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.1645, allocations: 0.7004 MB / 478.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.854e-05/0.1646, allocations: 21.16 kB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.1646, allocations: 15.44 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1646, allocations: 0 / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Templates: time 0.004592/0.1692, allocations: 1.581 MB / 480.5 MB, free: 4.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches