Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008928/0.000893, allocations: 93.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.001061, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.8 MB / 246.9 MB, free: 11.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2288/0.2288, allocations: 46.2 MB / 345.3 MB, free: 11.38 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003217, allocations: 8.281 kB / 419.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 63.57 MB / 483.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002625/0.1424, allocations: 1.625 MB / 484.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1444, allocations: 1.096 MB / 485.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.1445, allocations: 3.938 kB / 485.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.145, allocations: 243.5 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.1455, allocations: 211.4 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1458, allocations: 99.78 kB / 486.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1461, allocations: 263.2 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1463, allocations: 21.67 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1464, allocations: 119.5 kB / 486.8 MB, free: 440 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1467, allocations: 179.4 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1467, allocations: 4 kB / 487 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.1468, allocations: 63.95 kB / 487.1 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.1469, allocations: 67.64 kB / 487.1 MB, free: 124 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.1471, allocations: 121 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.1474, allocations: 239.3 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1474, allocations: 0 / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1474, allocations: 0 / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1474, allocations: 4 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000789/0.1482, allocations: 0.5409 MB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1483, allocations: 12.88 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.1483, allocations: 28.56 kB / 488.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.1487, allocations: 298.3 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1487, allocations: 8.375 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.1488, allocations: 16.11 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.149, allocations: 115.3 kB / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.149, allocations: 0 / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1491, allocations: 3.984 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1491, allocations: 4 kB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1492, allocations: 43.97 kB / 488.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.1498, allocations: 488.7 kB / 489 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1502, allocations: 121.2 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1503, allocations: 45.81 kB / 489.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1504, allocations: 8 kB / 489.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1506, allocations: 117.1 kB / 489.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1507, allocations: 3.938 kB / 489.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001344/0.152, allocations: 0.5043 MB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.1521, allocations: 81.11 kB / 489.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.1526, allocations: 0.4938 MB / 490.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1527, allocations: 29.7 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1528, allocations: 168.4 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.401e-05/0.1529, allocations: 75.08 kB / 490.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.1529, allocations: 21.7 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1531, allocations: 346.8 kB / 491 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1532, allocations: 63.97 kB / 491.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.1534, allocations: 91.39 kB / 491.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.1537, allocations: 155.3 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1537, allocations: 3.938 kB / 491.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004118/0.1541, allocations: 237.4 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1542, allocations: 11.92 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1542, allocations: 0 / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1542, allocations: 4 kB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1543, allocations: 39.92 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1544, allocations: 4.234 kB / 491.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.1545, allocations: 11.98 kB / 491.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1545, allocations: 11.94 kB / 491.6 MB, free: 11.32 MB / 366.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001812/0.1547, allocations: 182.3 kB / 491.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.1547, allocations: 39.47 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.114e-05/0.1548, allocations: 46.88 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1548, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1549, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.1549, allocations: 11.98 kB / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.1558, allocations: 0.735 MB / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1559, allocations: 0 / 492.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.1559, allocations: 31.92 kB / 492.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.156, allocations: 7.984 kB / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.156, allocations: 8 kB / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.156, allocations: 128 / 492.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.156, allocations: 8 kB / 492.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.1565, allocations: 421.6 kB / 493.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.1566, allocations: 116.6 kB / 493.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1567, allocations: 8 kB / 493.2 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1568, allocations: 15.98 kB / 493.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1569, allocations: 19.86 kB / 493.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.917e-05/0.1569, allocations: 15.98 kB / 493.3 MB, free: 9.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.1573, allocations: 371.1 kB / 493.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1573, allocations: 0 / 493.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1577, allocations: 51.94 kB / 493.7 MB, free: 9.125 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001971/0.1597, allocations: 0.5118 MB / 494.2 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.1601, allocations: 159.8 kB / 494.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1601, allocations: 0 / 494.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1603, allocations: 76.23 kB / 494.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.1609, allocations: 69.64 kB / 494.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.162, allocations: 0.6755 MB / 495.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.1624, allocations: 0.7833 MB / 496 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.1626, allocations: 41.92 kB / 496 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.1626, allocations: 35.42 kB / 496.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1627, allocations: 0 / 496.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of Templates: time 0.007429/0.1701, allocations: 2.99 MB / 499 MB, free: 3.941 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches