Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 95.41 kB / 16.99 MB, free: 5.941 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.001031/0.001031, allocations: 179.8 kB / 17.87 MB, free: 5.609 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.438/1.438, allocations: 223.2 MB / 241.8 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.217/0.217, allocations: 44.21 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002954, allocations: 12 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 61.93 MB / 471.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002536/0.1459, allocations: 1.575 MB / 473 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1474, allocations: 0.8231 MB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1475, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1478, allocations: 35.78 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1481, allocations: 47.86 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1484, allocations: 107.2 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1486, allocations: 95.75 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1487, allocations: 25.44 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.1488, allocations: 47.77 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.1489, allocations: 35.78 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1489, allocations: 4 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.149, allocations: 27.94 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.1491, allocations: 23.91 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.1491, allocations: 45.58 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1493, allocations: 104 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1494, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1494, allocations: 0 / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1494, allocations: 0 / 474.5 MB, free: 10.71 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007029/0.1501, allocations: 464.4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1501, allocations: 8.031 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1502, allocations: 15.81 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.1505, allocations: 222.8 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1505, allocations: 4 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1506, allocations: 8 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1508, allocations: 112.2 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1508, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.1509, allocations: 0 / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1509, allocations: 4 kB / 475.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.151, allocations: 51.91 kB / 475.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000642/0.1517, allocations: 0.5164 MB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.152, allocations: 86.67 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1521, allocations: 0 / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.1523, allocations: 95.3 kB / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1523, allocations: 0 / 476 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000435/0.1528, allocations: 145.5 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1528, allocations: 55.78 kB / 476.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1531, allocations: 191.4 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1531, allocations: 25.7 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1533, allocations: 108 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.1533, allocations: 39.72 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.1533, allocations: 8 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1535, allocations: 326.8 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.1536, allocations: 27.98 kB / 476.9 MB, free: 7.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1537, allocations: 64.27 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1538, allocations: 39.92 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1538, allocations: 7.938 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002776/0.1541, allocations: 133.4 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1541, allocations: 12.12 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1541, allocations: 3.984 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1542, allocations: 4 kB / 477.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1543, allocations: 16 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1543, allocations: 11.92 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.1544, allocations: 19.84 kB / 477.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1544, allocations: 4 kB / 477.2 MB, free: 7.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001393/0.1545, allocations: 128.5 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.1546, allocations: 19.8 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.006e-05/0.1546, allocations: 17.41 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1546, allocations: 3.984 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1547, allocations: 0 / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1547, allocations: 0 / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1549, allocations: 209.6 kB / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1549, allocations: 0 / 477.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.155, allocations: 19.92 kB / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.155, allocations: 0 / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.155, allocations: 0 / 477.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.155, allocations: 4 kB / 477.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.155, allocations: 4 kB / 477.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.1554, allocations: 196.8 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1555, allocations: 88.98 kB / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1555, allocations: 0 / 477.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1556, allocations: 20.05 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1556, allocations: 3.984 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1557, allocations: 4 kB / 477.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1558, allocations: 141.2 kB / 478.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1558, allocations: 0 / 478.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.156, allocations: 32.03 kB / 478.1 MB, free: 6.695 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009915/0.157, allocations: 416.2 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1573, allocations: 83.83 kB / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1573, allocations: 0 / 478.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.644e-05/0.1574, allocations: 31.98 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.1577, allocations: 42.95 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.1583, allocations: 294.2 kB / 479 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1586, allocations: 0.7165 MB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.033e-05/0.1587, allocations: 21.41 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1587, allocations: 15.44 kB / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1587, allocations: 0 / 479.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of Templates: time 0.004451/0.1632, allocations: 1.724 MB / 481.4 MB, free: 3.488 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches