Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 171.9 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 222.8 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4827/0.4827, allocations: 43.58 MB / 314.6 MB, free: 8.621 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.0005584/0.0005588, allocations: 12 kB / 384 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1441, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002448/0.1466, allocations: 1.527 MB / 444.4 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1482, allocations: 0.8319 MB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.1484, allocations: 0 / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005883/0.149, allocations: 251.5 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.1494, allocations: 171.5 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1498, allocations: 123.8 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1502, allocations: 211.3 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1503, allocations: 25.55 kB / 445.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.1506, allocations: 107.6 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1508, allocations: 143.6 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.1508, allocations: 4 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.1509, allocations: 47.91 kB / 446.2 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.151, allocations: 51.83 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.1511, allocations: 53.58 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1513, allocations: 167.9 kB / 446.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1513, allocations: 8 kB / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1513, allocations: 3.938 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1514, allocations: 0 / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007313/0.1521, allocations: 0.5251 MB / 447 MB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1522, allocations: 16.02 kB / 447.1 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/0.1522, allocations: 27.62 kB / 447.1 MB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.1527, allocations: 267 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1527, allocations: 11.98 kB / 447.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1527, allocations: 4 kB / 447.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.153, allocations: 95.36 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.153, allocations: 0 / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.153, allocations: 7.953 kB / 447.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.153, allocations: 3.984 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1532, allocations: 39.91 kB / 447.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007644/0.1539, allocations: 457 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1542, allocations: 113.3 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.1543, allocations: 49.62 kB / 448.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1544, allocations: 3.953 kB / 448.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.1546, allocations: 109 kB / 448.2 MB, free: 7.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1547, allocations: 4 kB / 448.2 MB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009038/0.1556, allocations: 376.3 kB / 448.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/0.1557, allocations: 81.05 kB / 448.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006114/0.1563, allocations: 477.7 kB / 449.1 MB, free: 6.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.1563, allocations: 37.69 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1565, allocations: 156.4 kB / 449.3 MB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.1566, allocations: 51.34 kB / 449.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.1566, allocations: 4 kB / 449.4 MB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1568, allocations: 342.8 kB / 449.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.1569, allocations: 47.92 kB / 449.8 MB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.157, allocations: 67.41 kB / 449.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1572, allocations: 44 kB / 449.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1572, allocations: 0 / 449.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003554/0.1575, allocations: 189.1 kB / 450.1 MB, free: 5.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1576, allocations: 8 kB / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1576, allocations: 128 / 450.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1576, allocations: 4 kB / 450.1 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1578, allocations: 31.98 kB / 450.1 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1578, allocations: 4 kB / 450.1 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.1579, allocations: 11.98 kB / 450.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1579, allocations: 4 kB / 450.1 MB, free: 5.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001895/0.1581, allocations: 181.7 kB / 450.3 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.1581, allocations: 27.62 kB / 450.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.1582, allocations: 38.81 kB / 450.4 MB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1582, allocations: 7.938 kB / 450.4 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1583, allocations: 0 / 450.4 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.1583, allocations: 7.922 kB / 450.4 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.1591, allocations: 0.6323 MB / 451 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1591, allocations: 0 / 451 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.1592, allocations: 16 kB / 451 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1592, allocations: 4 kB / 451 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1592, allocations: 7.984 kB / 451 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/0.1592, allocations: 7.938 kB / 451.1 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1593, allocations: 4.031 kB / 451.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.1597, allocations: 364.2 kB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1598, allocations: 108.7 kB / 451.5 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.1599, allocations: 4 kB / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.16, allocations: 8 kB / 451.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.1601, allocations: 23.88 kB / 451.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.1601, allocations: 11.98 kB / 451.6 MB, free: 3.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004153/0.1605, allocations: 359.1 kB / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1606, allocations: 0 / 451.9 MB, free: 3.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.161, allocations: 40 kB / 452 MB, free: 3.492 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001383/0.1624, allocations: 476.6 kB / 452.4 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.1627, allocations: 107.9 kB / 452.5 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.1627, allocations: 4 kB / 452.5 MB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.1628, allocations: 55.86 kB / 452.6 MB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.1634, allocations: 61.58 kB / 452.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.1643, allocations: 0.5645 MB / 453.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.1648, allocations: 0.7674 MB / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1649, allocations: 34.55 kB / 454 MB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.165, allocations: 27.44 kB / 454 MB, free: 1.383 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.165, allocations: 0 / 454 MB, free: 1.383 MB / 382.1 MB Notification: Performance of Templates: time 0.2141/0.3791, allocations: 2.504 MB / 456.5 MB, free: 45.74 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches