Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 103.9 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4028/0.4028, allocations: 43.49 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 56.14 kB / 429.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1504, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.00338/0.1539, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1552, allocations: 0.7885 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.1553, allocations: 8 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.1557, allocations: 43.81 kB / 489.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001747/0.1559, allocations: 51.81 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1561, allocations: 79.78 kB / 489.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1563, allocations: 103.7 kB / 489.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1565, allocations: 8.219 kB / 489.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.1566, allocations: 47.78 kB / 489.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.1567, allocations: 35.78 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1567, allocations: 0 / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1568, allocations: 39.98 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.1569, allocations: 23.91 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.1569, allocations: 43.67 kB / 490 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1571, allocations: 127.8 kB / 490.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1572, allocations: 0 / 490.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1572, allocations: 0 / 490.2 MB, free: 9.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1572, allocations: 0 / 490.2 MB, free: 9.367 MB / 378.7 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.0006366/0.1578, allocations: 446.6 kB / 490.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1579, allocations: 12.03 kB / 490.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1579, allocations: 8.844 kB / 490.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.1582, allocations: 223.7 kB / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1582, allocations: 384 / 490.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1583, allocations: 12.12 kB / 490.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1585, allocations: 53.67 kB / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1585, allocations: 0 / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1585, allocations: 0 / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1585, allocations: 0 / 490.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1586, allocations: 23.92 kB / 490.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.159, allocations: 296.8 kB / 491.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1592, allocations: 58.69 kB / 491.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.1593, allocations: 20.84 kB / 491.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.1593, allocations: 11.92 kB / 491.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.1595, allocations: 67.33 kB / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1595, allocations: 0 / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.1601, allocations: 185 kB / 491.6 MB, free: 7.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1601, allocations: 51.41 kB / 491.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1604, allocations: 255.7 kB / 491.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1604, allocations: 29.7 kB / 491.9 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.1605, allocations: 116.1 kB / 492 MB, free: 7.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.1606, allocations: 23.66 kB / 492 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1606, allocations: 29.64 kB / 492.1 MB, free: 7.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1608, allocations: 334.8 kB / 492.4 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.1608, allocations: 19.98 kB / 492.4 MB, free: 6.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1609, allocations: 33.7 kB / 492.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.161, allocations: 62.03 kB / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.161, allocations: 0 / 492.5 MB, free: 6.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.1612, allocations: 101.5 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1612, allocations: 12.03 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1612, allocations: 4 kB / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1613, allocations: 0 / 492.6 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.1614, allocations: 19.92 kB / 492.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.1614, allocations: 4 kB / 492.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1614, allocations: 3.938 kB / 492.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1614, allocations: 4 kB / 492.6 MB, free: 6.656 MB / 378.7 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.0001088/0.1616, allocations: 133.8 kB / 492.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.1616, allocations: 11.81 kB / 492.8 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.1616, allocations: 25.39 kB / 492.8 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1616, allocations: 4 kB / 492.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1617, allocations: 0 / 492.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1617, allocations: 3.938 kB / 492.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1621, allocations: 407.2 kB / 493.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1621, allocations: 0 / 493.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.1622, allocations: 8 kB / 493.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1622, allocations: 3.938 kB / 493.2 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1622, allocations: 11.97 kB / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1622, allocations: 240 / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1622, allocations: 0 / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005316/0.1627, allocations: 0.795 MB / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.1628, allocations: 92.91 kB / 494.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1628, allocations: 11.94 kB / 494.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.1629, allocations: 4 kB / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.1629, allocations: 7.984 kB / 494.1 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.163, allocations: 4 kB / 494.1 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1631, allocations: 199 kB / 494.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1631, allocations: 0 / 494.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.1635, allocations: 31.98 kB / 494.4 MB, free: 4.77 MB / 378.7 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.001029/0.1645, allocations: 464.7 kB / 494.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1647, allocations: 55.86 kB / 494.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1647, allocations: 0 / 494.9 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.1648, allocations: 32.05 kB / 494.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.1651, allocations: 44.17 kB / 495 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.1658, allocations: 432.4 kB / 495.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1661, allocations: 0.7199 MB / 496.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.1662, allocations: 17.17 kB / 496.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.1662, allocations: 15.44 kB / 496.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1662, allocations: 4 kB / 496.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of Templates: time 0.004432/0.1707, allocations: 1.699 MB / 497.8 MB, free: 1.297 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches