Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007993/0.0007995, allocations: 98.86 kB / 18.01 MB, free: 5.734 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.0009254/0.0009254, allocations: 177.8 kB / 18.91 MB, free: 4.871 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.453/1.453, allocations: 223.3 MB / 243 MB, free: 14.37 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.2072/0.2072, allocations: 44.25 MB / 338.3 MB, free: 2.406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 17.2 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002293/0.1405, allocations: 1.495 MB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1423, allocations: 0.9279 MB / 475.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1424, allocations: 3.938 kB / 475.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.143, allocations: 295.4 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003734/0.1434, allocations: 207.5 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1439, allocations: 150.3 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.1442, allocations: 231.4 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.1443, allocations: 13.55 kB / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1445, allocations: 115.6 kB / 476.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.1448, allocations: 195.5 kB / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1449, allocations: 4 kB / 476.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.145, allocations: 43.92 kB / 476.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1452, allocations: 127.6 kB / 476.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.1453, allocations: 176.5 kB / 476.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1457, allocations: 271.8 kB / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1457, allocations: 0 / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1457, allocations: 0 / 477.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1457, allocations: 0 / 477.1 MB, free: 9.066 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009211/0.1466, allocations: 0.6689 MB / 477.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1467, allocations: 11.97 kB / 477.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.404e-05/0.1468, allocations: 48.36 kB / 477.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1474, allocations: 451.8 kB / 478.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1474, allocations: 384 / 478.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.1474, allocations: 8.125 kB / 478.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.1476, allocations: 95.22 kB / 478.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1476, allocations: 0 / 478.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1477, allocations: 0 / 478.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1477, allocations: 4 kB / 478.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1478, allocations: 31.97 kB / 478.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.1482, allocations: 374.4 kB / 478.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1485, allocations: 105.2 kB / 478.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1486, allocations: 45.64 kB / 479 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1486, allocations: 4 kB / 479 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1489, allocations: 105 kB / 479.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 3.707e-06/0.1489, allocations: 7.984 kB / 479.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005036/0.1494, allocations: 192.9 kB / 479.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.1495, allocations: 85.11 kB / 479.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.1506, allocations: 1.034 MB / 480.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1506, allocations: 29.7 kB / 480.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1508, allocations: 232.1 kB / 480.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.1509, allocations: 31.62 kB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.1509, allocations: 17.72 kB / 480.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1511, allocations: 366.8 kB / 481 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.1512, allocations: 31.98 kB / 481.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.852e-05/0.1513, allocations: 63.34 kB / 481.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1515, allocations: 83.92 kB / 481.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1515, allocations: 0 / 481.2 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003167/0.1518, allocations: 184.8 kB / 481.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1518, allocations: 4 kB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1518, allocations: 0 / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.1519, allocations: 4 kB / 481.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.152, allocations: 27.92 kB / 481.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.152, allocations: 0 / 481.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1521, allocations: 11.91 kB / 481.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1521, allocations: 4 kB / 481.4 MB, free: 4.473 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.1524, allocations: 238.2 kB / 481.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.1524, allocations: 43.44 kB / 481.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.1525, allocations: 60 kB / 481.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1525, allocations: 0 / 481.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.1525, allocations: 4 kB / 481.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1525, allocations: 3.938 kB / 481.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.1529, allocations: 341.3 kB / 482.1 MB, free: 3.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1529, allocations: 4 kB / 482.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.1529, allocations: 4 kB / 482.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.153, allocations: 8 kB / 482.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.153, allocations: 3.984 kB / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.153, allocations: 0 / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.153, allocations: 0 / 482.1 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.1533, allocations: 205.2 kB / 482.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1535, allocations: 140.5 kB / 482.5 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.1535, allocations: 4 kB / 482.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.1536, allocations: 12 kB / 482.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1537, allocations: 12.05 kB / 482.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.1537, allocations: 15.98 kB / 482.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007975/0.1545, allocations: 0.7643 MB / 483.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1545, allocations: 0 / 483.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.1548, allocations: 44 kB / 483.3 MB, free: 2.488 MB / 350.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001001/0.1558, allocations: 415.5 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1561, allocations: 83.91 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1561, allocations: 0 / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1562, allocations: 35.92 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.1566, allocations: 81.86 kB / 483.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.158, allocations: 1 MB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1585, allocations: 0.843 MB / 485.8 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.1586, allocations: 27.44 kB / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1586, allocations: 0 / 485.8 MB, free: 104 kB / 350.1 MB Notification: Performance of Templates: time 0.009039/0.1676, allocations: 4.981 MB / 490.8 MB, free: 11.13 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches