Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009808/0.0009816, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0009983/0.0009983, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.405/1.405, allocations: 223.2 MB / 242.3 MB, free: 216 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.233/0.233, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 15.98 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002497/0.1506, allocations: 1.371 MB / 473.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1523, allocations: 0.8226 MB / 474.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1524, allocations: 7.938 kB / 474.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1528, allocations: 43.88 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.153, allocations: 55.83 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.1535, allocations: 94.64 kB / 474.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.1537, allocations: 95.67 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.485e-05/0.1538, allocations: 4 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1539, allocations: 31.86 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1541, allocations: 43.77 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1541, allocations: 0 / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1542, allocations: 31.98 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.707e-05/0.1543, allocations: 19.91 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.993e-05/0.1544, allocations: 57.45 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.1546, allocations: 87.98 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1546, allocations: 0 / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1546, allocations: 4 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1547, allocations: 0 / 475 MB, free: 10.58 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006213/0.1553, allocations: 383.2 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1553, allocations: 8.031 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.1554, allocations: 8.844 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1557, allocations: 208.1 kB / 475.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1557, allocations: 8.297 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1557, allocations: 8.125 kB / 475.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1559, allocations: 49.62 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1559, allocations: 0 / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1559, allocations: 0 / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.1559, allocations: 3.984 kB / 475.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.156, allocations: 12 kB / 475.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002209/0.1562, allocations: 173.7 kB / 475.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1564, allocations: 58.61 kB / 475.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1565, allocations: 24.73 kB / 475.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1565, allocations: 4 kB / 476 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.1567, allocations: 63.39 kB / 476 MB, free: 9.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.995e-06/0.1567, allocations: 4 kB / 476 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003247/0.157, allocations: 93.56 kB / 476.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.1571, allocations: 63.34 kB / 476.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1573, allocations: 165.9 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1573, allocations: 29.7 kB / 476.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1574, allocations: 96.12 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.1575, allocations: 19.75 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.1575, allocations: 13.72 kB / 476.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1577, allocations: 326.8 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1577, allocations: 15.98 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.1578, allocations: 21.72 kB / 476.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1579, allocations: 45.7 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.158, allocations: 0 / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001737/0.1581, allocations: 81.47 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1582, allocations: 12.03 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1582, allocations: 3.984 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1582, allocations: 3.938 kB / 477 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.1583, allocations: 8 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1583, allocations: 0 / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.1584, allocations: 7.906 kB / 477 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1584, allocations: 15.92 kB / 477 MB, free: 8.352 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 ($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 (7): * Single equations (assignments): 7 * 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.0001185/0.1585, allocations: 132.9 kB / 477.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.1585, allocations: 7.906 kB / 477.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.1586, allocations: 16.31 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1586, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1586, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1586, allocations: 3.984 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1588, allocations: 185.6 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1588, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.1588, allocations: 0 / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1588, allocations: 7.938 kB / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1589, allocations: 0 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1589, allocations: 0 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1589, allocations: 0 / 477.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1591, allocations: 117.2 kB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.1591, allocations: 89 kB / 477.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1592, allocations: 8.062 kB / 477.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.1592, allocations: 4 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1593, allocations: 0 / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1593, allocations: 7.984 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1594, allocations: 135.1 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1594, allocations: 4 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1596, allocations: 16 kB / 477.7 MB, free: 7.535 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001017/0.1607, allocations: 413.6 kB / 478.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1608, allocations: 39.92 kB / 478.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1608, allocations: 0 / 478.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.1609, allocations: 20.11 kB / 478.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1612, allocations: 36.11 kB / 478.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.1617, allocations: 201 kB / 478.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.162, allocations: 0.7004 MB / 479.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.185e-05/0.1621, allocations: 16.41 kB / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1621, allocations: 15.42 kB / 479.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1621, allocations: 0 / 479.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.004649/0.1668, allocations: 1.411 MB / 480.6 MB, free: 4.812 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches