Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 107.5 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.001609/0.001609, 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.495/1.495, allocations: 227.4 MB / 246.3 MB, free: 10.79 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.249/0.249, allocations: 46.12 MB / 343.7 MB, free: 11.76 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.002301/0.002301, allocations: 82.23 kB / 416.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1468, allocations: 62.45 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003783/0.1506, allocations: 1.785 MB / 481.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1529, allocations: 1.01 MB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.153, allocations: 0 / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.1533, allocations: 47.77 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1536, allocations: 83.69 kB / 482.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.1538, allocations: 63.81 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.154, allocations: 95.75 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1541, allocations: 11.98 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.617e-05/0.1542, allocations: 35.8 kB / 482.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.1543, allocations: 31.8 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1543, allocations: 0 / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1545, allocations: 55.91 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.1545, allocations: 15.92 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.1546, allocations: 35.73 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1548, allocations: 111.9 kB / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1548, allocations: 0 / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1548, allocations: 0 / 482.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1548, allocations: 0 / 482.8 MB, free: 2.262 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.0006203/0.1555, allocations: 407.1 kB / 483.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1555, allocations: 8.875 kB / 483.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.1556, allocations: 20.73 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1559, allocations: 208 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1559, allocations: 384 / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1559, allocations: 16.11 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1561, allocations: 53.67 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1561, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1561, allocations: 0 / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1561, allocations: 7.984 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.062e-05/0.1562, allocations: 15.98 kB / 483.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.1567, allocations: 296.8 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1568, allocations: 50.69 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.1569, allocations: 24.84 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1569, allocations: 0 / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.1572, allocations: 67.39 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1572, allocations: 3.938 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006438/0.1579, allocations: 173.2 kB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.1581, allocations: 55.41 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1583, allocations: 185.9 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1583, allocations: 29.7 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.1584, allocations: 100 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1585, allocations: 27.73 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.1585, allocations: 21.72 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003189/0.1589, allocations: 326.8 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.1589, allocations: 24.36 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.159, allocations: 37.64 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1591, allocations: 57.7 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1592, allocations: 11.94 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.1594, allocations: 97.5 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1594, allocations: 8 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1594, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1594, allocations: 0 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.1595, allocations: 19.92 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1595, allocations: 4 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.1596, allocations: 3.938 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1596, allocations: 4 kB / 485.1 MB, free: 15.71 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.0001131/0.1597, allocations: 129.9 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.1598, allocations: 7.906 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1598, allocations: 17.39 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1598, allocations: 4 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1598, allocations: 0 / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1598, allocations: 3.938 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1604, allocations: 391.2 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1604, allocations: 8.031 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.901e-05/0.1604, allocations: 4 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1604, allocations: 4 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1604, allocations: 11.86 kB / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1605, allocations: 0 / 485.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.1605, allocations: 4 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1607, allocations: 208.2 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1608, allocations: 81.02 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1608, allocations: 7.938 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.1609, allocations: 7.984 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.161, allocations: 4 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.161, allocations: 4 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.1611, allocations: 141.8 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1611, allocations: 0 / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1614, allocations: 24 kB / 486.1 MB, free: 14.56 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.001817/0.1632, allocations: 465.2 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1634, allocations: 51.97 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1635, allocations: 64 / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.1635, allocations: 43.86 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.1639, allocations: 31.2 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.1645, allocations: 245 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.1649, allocations: 0.7043 MB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.165, allocations: 12.88 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.165, allocations: 19.42 kB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.165, allocations: 0 / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of Templates: time 0.005186/0.1702, allocations: 1.661 MB / 489.3 MB, free: 11.46 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches