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.001837/0.001837, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.002429/0.002429, allocations: 194 kB / 18.77 MB, free: 4.742 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.397/1.397, allocations: 222.9 MB / 242.5 MB, free: 15.48 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.2125/0.2125, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 69.97 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 60.81 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003777/0.1291, allocations: 1.853 MB / 471 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.131, allocations: 0.9511 MB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1312, allocations: 11.94 kB / 472 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.1318, allocations: 299.4 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004151/0.1323, allocations: 199.5 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.1328, allocations: 151.1 kB / 472.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.1331, allocations: 235.3 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.1332, allocations: 9.547 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.1334, allocations: 119.5 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1337, allocations: 183.6 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.1337, allocations: 8 kB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.1339, allocations: 43.97 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1341, allocations: 135.6 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.1342, allocations: 146.8 kB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1346, allocations: 275.9 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1346, allocations: 0 / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1346, allocations: 0 / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1347, allocations: 0 / 473.8 MB, free: 10.26 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.001109/0.1358, allocations: 0.7229 MB / 474.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1358, allocations: 16.03 kB / 474.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.406e-05/0.1359, allocations: 44.38 kB / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.1365, allocations: 451.8 kB / 475 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1365, allocations: 4.375 kB / 475 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1365, allocations: 8.125 kB / 475 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1367, allocations: 87.3 kB / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1368, allocations: 0 / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1368, allocations: 0 / 475.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.1368, allocations: 7.984 kB / 475.1 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1369, allocations: 31.97 kB / 475.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003898/0.1373, allocations: 374.4 kB / 475.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1376, allocations: 109.2 kB / 475.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.1377, allocations: 41.64 kB / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.1377, allocations: 0 / 475.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.138, allocations: 113 kB / 475.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.138, allocations: 4 kB / 475.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005058/0.1385, allocations: 201.4 kB / 475.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1386, allocations: 81.11 kB / 476 MB, free: 7.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1397, allocations: 1.03 MB / 477.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1398, allocations: 33.64 kB / 477.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.14, allocations: 232.1 kB / 477.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.14, allocations: 31.64 kB / 477.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.1401, allocations: 25.72 kB / 477.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1403, allocations: 370.8 kB / 477.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.1404, allocations: 27.98 kB / 477.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.1405, allocations: 63.41 kB / 477.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.1407, allocations: 83.36 kB / 477.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1407, allocations: 0 / 477.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003345/0.141, allocations: 180.8 kB / 478.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.141, allocations: 7.938 kB / 478.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1411, allocations: 0 / 478.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1411, allocations: 4 kB / 478.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1412, allocations: 19.98 kB / 478.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1412, allocations: 4 kB / 478.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.1413, allocations: 11.97 kB / 478.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1413, allocations: 8 kB / 478.1 MB, free: 5.598 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.0002446/0.1416, allocations: 230.1 kB / 478.4 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.1417, allocations: 47.34 kB / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.86e-05/0.1418, allocations: 64 kB / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1418, allocations: 0 / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1418, allocations: 192 / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1418, allocations: 7.984 kB / 478.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.1421, allocations: 341.4 kB / 478.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1421, allocations: 4 kB / 478.8 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.1422, allocations: 11.98 kB / 478.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1422, allocations: 0 / 478.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1422, allocations: 4 kB / 478.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1422, allocations: 0 / 478.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1422, allocations: 0 / 478.8 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1426, allocations: 205.2 kB / 479 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1428, allocations: 136.5 kB / 479.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.1428, allocations: 7.984 kB / 479.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1429, allocations: 4 kB / 479.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.143, allocations: 7.984 kB / 479.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.143, allocations: 4 kB / 479.2 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008574/0.1438, allocations: 0.7761 MB / 480 MB, free: 3.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1439, allocations: 7.875 kB / 480 MB, free: 3.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1441, allocations: 40 kB / 480 MB, free: 3.621 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.000995/0.1451, allocations: 417.8 kB / 480.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.1454, allocations: 83.89 kB / 480.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1454, allocations: 0 / 480.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.1455, allocations: 39.92 kB / 480.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.146, allocations: 83.89 kB / 480.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1475, allocations: 0.9913 MB / 481.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.148, allocations: 0.8391 MB / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.1481, allocations: 31.44 kB / 482.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1481, allocations: 0 / 482.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Templates: time 0.008223/0.1563, allocations: 5.05 MB / 487.5 MB, free: 12.19 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