Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.181/2.181, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4036/0.4036, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002566, allocations: 77.69 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.144, allocations: 62.45 MB / 480 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004577/0.1486, allocations: 1.781 MB / 481.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.1519, allocations: 1.604 MB / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.152, allocations: 0 / 483.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003865/0.1524, allocations: 35.83 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.153, allocations: 87.73 kB / 483.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.1533, allocations: 55.89 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.1536, allocations: 115.6 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1537, allocations: 8 kB / 483.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1539, allocations: 47.77 kB / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1541, allocations: 43.78 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1541, allocations: 4 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1544, allocations: 103.9 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1545, allocations: 23.91 kB / 483.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.1546, allocations: 39.78 kB / 483.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.155, allocations: 136 kB / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.155, allocations: 0 / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.155, allocations: 0 / 484 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.155, allocations: 0 / 484 MB, free: 1.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008313/0.1558, allocations: 430.9 kB / 484.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.1559, allocations: 12.88 kB / 484.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.852e-05/0.156, allocations: 16.84 kB / 484.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.1564, allocations: 212.1 kB / 484.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1565, allocations: 4.375 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.1565, allocations: 4.125 kB / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.1568, allocations: 83.36 kB / 484.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1568, allocations: 3.938 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1568, allocations: 0 / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1569, allocations: 0 / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.157, allocations: 27.98 kB / 484.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.1576, allocations: 308.6 kB / 485.1 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.1579, allocations: 66.67 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.978e-05/0.158, allocations: 28.8 kB / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1581, allocations: 0 / 485.2 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.1584, allocations: 75.38 kB / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.1584, allocations: 0 / 485.3 MB, free: 208 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009012/0.1593, allocations: 201.4 kB / 485.5 MB, free: 0 / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.1594, allocations: 77.11 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1597, allocations: 170.2 kB / 485.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1598, allocations: 33.7 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.1599, allocations: 96.12 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.1599, allocations: 35.64 kB / 485.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.16, allocations: 25.66 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1602, allocations: 326.8 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1603, allocations: 23.98 kB / 486.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.1605, allocations: 50.5 kB / 486.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1607, allocations: 73.73 kB / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1607, allocations: 0 / 486.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000374/0.1611, allocations: 113.4 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1612, allocations: 4 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1612, allocations: 4.234 kB / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1612, allocations: 0 / 486.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1614, allocations: 23.92 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1614, allocations: 3.984 kB / 486.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.1615, allocations: 7.938 kB / 486.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1615, allocations: 8.031 kB / 486.5 MB, free: 14.87 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 (11): * Single equations (assignments): 11 * 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.0001399/0.1617, allocations: 117.8 kB / 486.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.1618, allocations: 11.89 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.1618, allocations: 20.72 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1619, allocations: 0 / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1619, allocations: 0 / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.1619, allocations: 4.125 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.1626, allocations: 415.3 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1626, allocations: 3.938 kB / 487.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.1627, allocations: 15.92 kB / 487.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.1627, allocations: 4 kB / 487.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1627, allocations: 7.938 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1628, allocations: 4 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.1628, allocations: 4 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.1632, allocations: 212.2 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1632, allocations: 89 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.1633, allocations: 15.88 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1634, allocations: 3.984 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1635, allocations: 7.984 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.1635, allocations: 4 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.1637, allocations: 131.2 kB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1637, allocations: 0 / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.1642, allocations: 47.98 kB / 487.6 MB, free: 13.66 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 (9): * Single equations (assignments): 7 * 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.001841/0.1661, allocations: 0.5399 MB / 488.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.1664, allocations: 71.89 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1664, allocations: 0 / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1665, allocations: 39.98 kB / 488.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.167, allocations: 27.73 kB / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006829/0.1678, allocations: 278.6 kB / 488.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1683, allocations: 0.7043 MB / 489.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.1684, allocations: 19.42 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1684, allocations: 4 kB / 489.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.006258/0.1746, allocations: 2.501 MB / 491.8 MB, free: 9.617 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches