Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 96.14 kB / 15.87 MB, free: 16 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.001593/0.001592, allocations: 203.7 kB / 16.79 MB, free: 6.84 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.57/1.57, allocations: 205.1 MB / 222.6 MB, free: 4.98 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.394/0.394, allocations: 43.5 MB / 313.5 MB, free: 8.406 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.001609/0.001609, allocations: 67.91 kB / 382 MB, free: 8.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1536, allocations: 57.79 MB / 439.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003139/0.1568, allocations: 1.752 MB / 441.6 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.158, allocations: 0.7963 MB / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.158, allocations: 0 / 442.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.1584, allocations: 27.91 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1586, allocations: 47.83 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1588, allocations: 79.84 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.159, allocations: 87.7 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1591, allocations: 20.2 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.1592, allocations: 43.72 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.092e-05/0.1593, allocations: 23.86 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1593, allocations: 7.938 kB / 442.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.1594, allocations: 39.97 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1595, allocations: 15.92 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.1596, allocations: 23.81 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.1598, allocations: 111.9 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1598, allocations: 7.938 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1598, allocations: 4 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1598, allocations: 0 / 442.9 MB, free: 11.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005988/0.1604, allocations: 395.1 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1605, allocations: 12.02 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1605, allocations: 12.84 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1608, allocations: 200.6 kB / 443.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1608, allocations: 7.938 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1608, allocations: 4 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.161, allocations: 57.67 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.161, allocations: 3.938 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.161, allocations: 3.984 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.161, allocations: 0 / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.1611, allocations: 19.98 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1615, allocations: 284.8 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1617, allocations: 58.67 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.405e-05/0.1618, allocations: 28.78 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1618, allocations: 0 / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.1621, allocations: 67.39 kB / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1621, allocations: 0 / 444 MB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.1627, allocations: 177.2 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1628, allocations: 55.34 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.1629, allocations: 154.4 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.163, allocations: 33.7 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.1631, allocations: 96.14 kB / 444.5 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1631, allocations: 23.64 kB / 444.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.1631, allocations: 21.72 kB / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1633, allocations: 322.8 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.1633, allocations: 27.98 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.1634, allocations: 33.7 kB / 445 MB, free: 9.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1635, allocations: 61.64 kB / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1636, allocations: 192 / 445 MB, free: 9.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.1638, allocations: 101.5 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1638, allocations: 7.938 kB / 445.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1638, allocations: 4.031 kB / 445.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1638, allocations: 11.92 kB / 445.1 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.1639, allocations: 15.98 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1639, allocations: 0 / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.164, allocations: 4 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.164, allocations: 4 kB / 445.2 MB, free: 9.305 MB / 382.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.0001073/0.1641, allocations: 121.8 kB / 445.3 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1641, allocations: 15.8 kB / 445.3 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1642, allocations: 24.53 kB / 445.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1642, allocations: 8 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1642, allocations: 0 / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1642, allocations: 0 / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1647, allocations: 387.3 kB / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1647, allocations: 0 / 445.7 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1647, allocations: 11.98 kB / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1647, allocations: 0 / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1647, allocations: 8 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1647, allocations: 4.031 kB / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1648, allocations: 0 / 445.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.165, allocations: 196.6 kB / 445.9 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.165, allocations: 85.02 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.1651, allocations: 4 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.1651, allocations: 11.98 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.1652, allocations: 7.938 kB / 446 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1652, allocations: 4 kB / 446 MB, free: 8.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.528e-05/0.1653, allocations: 128 kB / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1653, allocations: 0 / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1656, allocations: 23.98 kB / 446.2 MB, free: 8.184 MB / 382.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.001046/0.1666, allocations: 478.5 kB / 446.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1668, allocations: 59.84 kB / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1668, allocations: 0 / 446.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.1669, allocations: 31.98 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1672, allocations: 27.97 kB / 446.8 MB, free: 7.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1677, allocations: 228.6 kB / 447 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.168, allocations: 0.7004 MB / 447.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.168, allocations: 12.89 kB / 447.7 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.1681, allocations: 19.42 kB / 447.7 MB, free: 6.617 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1681, allocations: 0 / 447.7 MB, free: 6.617 MB / 382.1 MB Notification: Performance of Templates: time 0.004427/0.1725, allocations: 1.627 MB / 449.3 MB, free: 4.992 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches