Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001584, allocations: 106.6 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.00197/0.00197, 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.458/1.458, allocations: 227.4 MB / 246.3 MB, free: 9.117 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 77.16 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 62.45 MB / 479.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003891/0.1416, allocations: 1.787 MB / 481.1 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1436, allocations: 1.017 MB / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1438, allocations: 0 / 482.1 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1441, allocations: 47.83 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003287/0.1445, allocations: 83.66 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1448, allocations: 63.88 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.145, allocations: 95.75 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1452, allocations: 8 kB / 482.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1453, allocations: 51.66 kB / 482.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.1454, allocations: 35.78 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.1454, allocations: 4 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1456, allocations: 43.98 kB / 482.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1456, allocations: 23.91 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.1457, allocations: 35.69 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.146, allocations: 119.8 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.146, allocations: 0 / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.146, allocations: 0 / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.146, allocations: 0 / 482.7 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.000793/0.1468, allocations: 419 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.1469, allocations: 16.88 kB / 483.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.147, allocations: 8.844 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1473, allocations: 216 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1473, allocations: 384 / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1474, allocations: 8.125 kB / 483.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1476, allocations: 57.61 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1476, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1476, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1476, allocations: 0 / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.1477, allocations: 19.98 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.1482, allocations: 292.9 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1484, allocations: 58.61 kB / 483.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1485, allocations: 16.86 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1485, allocations: 3.984 kB / 483.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.1487, allocations: 75.33 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1488, allocations: 0 / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006296/0.1494, allocations: 177.4 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.1495, allocations: 55.39 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.1497, allocations: 206.9 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1497, allocations: 25.7 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.1498, allocations: 108.1 kB / 484.4 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1498, allocations: 23.7 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.1499, allocations: 25.7 kB / 484.5 MB, free: 284 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1501, allocations: 330.8 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.1501, allocations: 19.98 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.1502, allocations: 37.59 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1503, allocations: 65.77 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1504, allocations: 4 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002254/0.1506, allocations: 105.5 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1506, allocations: 6.656 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1507, allocations: 4 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1507, allocations: 0 / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.888e-05/0.1508, allocations: 16 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1508, allocations: 0 / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.1509, allocations: 11.92 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1509, allocations: 8.031 kB / 485.1 MB, free: 15.65 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.0001201/0.151, allocations: 129.7 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.151, allocations: 15.89 kB / 485.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.1511, allocations: 17.39 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1511, allocations: 0 / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.1511, allocations: 4 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1511, allocations: 3.938 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.1516, allocations: 403.2 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1516, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1517, allocations: 8 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1517, allocations: 0 / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1517, allocations: 3.938 kB / 485.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1517, allocations: 4 kB / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1517, allocations: 0 / 485.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.152, allocations: 208.2 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.152, allocations: 92.86 kB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1521, allocations: 7.938 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.1521, allocations: 4 kB / 486 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1522, allocations: 11.97 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1522, allocations: 0 / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1523, allocations: 156.3 kB / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 0 / 486.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1526, allocations: 23.98 kB / 486.1 MB, free: 14.47 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.001131/0.1538, allocations: 458.3 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.154, allocations: 51.92 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1541, allocations: 8.062 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.1541, allocations: 31.92 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1545, allocations: 28.91 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.155, allocations: 261.1 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1553, allocations: 0.7121 MB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.1554, allocations: 16.86 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.1554, allocations: 15.44 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1554, allocations: 4 kB / 487.7 MB, free: 13 MB / 366.1 MB Notification: Performance of Templates: time 0.004495/0.1599, allocations: 1.673 MB / 489.4 MB, free: 11.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches