Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.4 MB, free: 10.71 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.2373/0.2373, allocations: 46.11 MB / 343.7 MB, free: 11.78 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.002281/0.002281, allocations: 88.11 kB / 416.9 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1448, allocations: 62.44 MB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003431/0.1482, allocations: 1.789 MB / 481.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1501, allocations: 1.013 MB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.1502, allocations: 0 / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1505, allocations: 39.84 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.1508, allocations: 79.67 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.151, allocations: 63.83 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1512, allocations: 95.75 kB / 482.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1513, allocations: 11.98 kB / 482.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.1514, allocations: 35.8 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.1515, allocations: 35.78 kB / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1515, allocations: 0 / 482.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1516, allocations: 55.91 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1517, allocations: 11.94 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1518, allocations: 27.8 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.152, allocations: 111.9 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.152, allocations: 0 / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.152, allocations: 0 / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.152, allocations: 0 / 482.7 MB, free: 2.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000616/0.1526, allocations: 407.1 kB / 483.1 MB, free: 1.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1527, allocations: 8.875 kB / 483.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.1527, allocations: 16.84 kB / 483.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.153, allocations: 212 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.153, allocations: 4.375 kB / 483.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1531, allocations: 4.125 kB / 483.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1532, allocations: 53.67 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1533, allocations: 0 / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1533, allocations: 0 / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1533, allocations: 4 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.1534, allocations: 19.98 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1538, allocations: 296.7 kB / 483.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.154, allocations: 54.69 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.1541, allocations: 20.84 kB / 483.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1541, allocations: 4 kB / 483.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002246/0.1543, allocations: 71.33 kB / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.1543, allocations: 0 / 483.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.155, allocations: 173.2 kB / 484.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.155, allocations: 55.41 kB / 484.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1553, allocations: 174.1 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1553, allocations: 25.7 kB / 484.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.1554, allocations: 104.1 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1555, allocations: 27.64 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.1555, allocations: 21.72 kB / 484.5 MB, free: 380 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.1557, allocations: 326.8 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1558, allocations: 23.98 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.1559, allocations: 33.7 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.156, allocations: 53.72 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1561, allocations: 11.94 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1563, allocations: 97.52 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1563, allocations: 4 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1563, allocations: 0 / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1563, allocations: 7.984 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.1564, allocations: 19.92 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1564, allocations: 0 / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.1565, allocations: 7.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1565, allocations: 4 kB / 485 MB, free: 15.77 MB / 366.1 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.0001165/0.1566, allocations: 124.4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1567, allocations: 15.89 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1567, allocations: 12.72 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1567, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1567, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1568, allocations: 3.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.1573, allocations: 399.4 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1573, allocations: 4.375 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.1573, allocations: 7.984 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1574, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1574, allocations: 7.938 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1574, allocations: 0 / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1574, allocations: 4 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1577, allocations: 208.2 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.1577, allocations: 81.2 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.1578, allocations: 15.92 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1579, allocations: 3.938 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.1579, allocations: 4 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.1579, allocations: 7.984 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1581, allocations: 127.2 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1581, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1583, allocations: 24 kB / 486.1 MB, free: 14.62 MB / 366.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: 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.001835/0.1602, allocations: 465.1 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1604, allocations: 55.98 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.1604, allocations: 4.062 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.1605, allocations: 27.92 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1609, allocations: 31.44 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.1614, allocations: 232.9 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1618, allocations: 0.7004 MB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1619, allocations: 17.17 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1619, allocations: 15.44 kB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1619, allocations: 0 / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Templates: time 0.005723/0.1676, allocations: 1.661 MB / 489.3 MB, free: 11.55 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches