Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 97.72 kB / 16.02 MB, free: 84 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.0009895/0.0009896, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.177/2.177, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.4952/0.4952, allocations: 43.57 MB / 315 MB, free: 8.719 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.0005496/0.0005499, allocations: 16 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1577, allocations: 58.87 MB / 443.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002236/0.16, allocations: 1.418 MB / 444.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1615, allocations: 0.7691 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.975e-05/0.1616, allocations: 3.938 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.1621, allocations: 79.83 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.1623, allocations: 71.78 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1625, allocations: 71.86 kB / 445.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1627, allocations: 107.7 kB / 446 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1628, allocations: 8.219 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.1629, allocations: 43.78 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.163, allocations: 59.75 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.163, allocations: 4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1631, allocations: 47.91 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.1632, allocations: 23.92 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.1633, allocations: 57.44 kB / 446.2 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.1634, allocations: 111.8 kB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1635, allocations: 0 / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1635, allocations: 0 / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1635, allocations: 0 / 446.3 MB, free: 9.773 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.0006561/0.1641, allocations: 411 kB / 446.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1642, allocations: 8.031 kB / 446.7 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1642, allocations: 16.75 kB / 446.7 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1646, allocations: 220.8 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1647, allocations: 4.375 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.1647, allocations: 4.125 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1649, allocations: 53.67 kB / 447 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1649, allocations: 3.984 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1649, allocations: 4 kB / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1649, allocations: 0 / 447 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.165, allocations: 23.92 kB / 447 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1655, allocations: 288.9 kB / 447.3 MB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1657, allocations: 54.67 kB / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.1658, allocations: 28.78 kB / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1658, allocations: 0 / 447.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.166, allocations: 71.33 kB / 447.5 MB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.166, allocations: 0 / 447.5 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005408/0.1665, allocations: 181 kB / 447.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1666, allocations: 51.41 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1668, allocations: 210.4 kB / 447.9 MB, free: 7.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1668, allocations: 25.7 kB / 447.9 MB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.1669, allocations: 108.1 kB / 448 MB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1669, allocations: 23.66 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.167, allocations: 25.7 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1671, allocations: 326.8 kB / 448.4 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.1672, allocations: 20 kB / 448.4 MB, free: 7.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.1672, allocations: 33.7 kB / 448.5 MB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1673, allocations: 57.64 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1674, allocations: 4 kB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1675, allocations: 105.7 kB / 448.6 MB, free: 7.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1676, allocations: 4 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1676, allocations: 7.938 kB / 448.6 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1676, allocations: 3.938 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.1677, allocations: 12 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1677, allocations: 0 / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.1678, allocations: 11.92 kB / 448.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1678, allocations: 8 kB / 448.7 MB, free: 7.176 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.0002057/0.168, allocations: 121.9 kB / 448.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.168, allocations: 15.89 kB / 448.8 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.1681, allocations: 13.41 kB / 448.8 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1681, allocations: 4 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1681, allocations: 0 / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1681, allocations: 4.312 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1687, allocations: 403.4 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1687, allocations: 8.031 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.1687, allocations: 15.94 kB / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1688, allocations: 0 / 449.2 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1688, allocations: 7.938 kB / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1688, allocations: 0 / 449.3 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1688, allocations: 3.938 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.1691, allocations: 200.3 kB / 449.5 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1693, allocations: 96.91 kB / 449.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.1693, allocations: 7.938 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.1694, allocations: 0 / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.1694, allocations: 11.98 kB / 449.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1694, allocations: 4 kB / 449.6 MB, free: 6.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1696, allocations: 156.2 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.355e-06/0.1696, allocations: 0 / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1698, allocations: 27.92 kB / 449.8 MB, free: 5.992 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.001126/0.171, allocations: 472.7 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.1712, allocations: 47.98 kB / 450.3 MB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1712, allocations: 4 kB / 450.3 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1713, allocations: 35.98 kB / 450.3 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1716, allocations: 31.89 kB / 450.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.1721, allocations: 270.2 kB / 450.6 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1726, allocations: 0.7043 MB / 451.3 MB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.1726, allocations: 21.12 kB / 451.3 MB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.1727, allocations: 19.42 kB / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1727, allocations: 0 / 451.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of Templates: time 0.004395/0.1771, allocations: 1.619 MB / 453 MB, free: 2.762 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches