Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 99.58 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001532, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.19 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 8.219 kB / 418.8 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 63.58 MB / 482.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002354/0.151, allocations: 1.419 MB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1526, allocations: 0.9285 MB / 484.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.982e-05/0.1527, allocations: 4 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.153, allocations: 39.83 kB / 484.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1533, allocations: 75.73 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1535, allocations: 55.83 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1537, allocations: 95.67 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.1539, allocations: 11.98 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.154, allocations: 39.78 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.1541, allocations: 35.84 kB / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1541, allocations: 0 / 485.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1543, allocations: 35.98 kB / 485.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.1543, allocations: 19.92 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.1544, allocations: 37.64 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1546, allocations: 92.08 kB / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.1547, allocations: 0 / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1547, allocations: 0 / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1547, allocations: 0 / 485.3 MB, free: 1.578 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.000803/0.1555, allocations: 417 kB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.1556, allocations: 8.031 kB / 485.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1556, allocations: 7.906 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.156, allocations: 207.5 kB / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.156, allocations: 0 / 485.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.156, allocations: 8 kB / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1562, allocations: 49.67 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.1563, allocations: 0 / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1563, allocations: 4 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1563, allocations: 4 kB / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.1564, allocations: 23.92 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.157, allocations: 288.8 kB / 486.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1571, allocations: 54.67 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.1572, allocations: 24.84 kB / 486.4 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1573, allocations: 4 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.1575, allocations: 71.33 kB / 486.4 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1575, allocations: 0 / 486.4 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007355/0.1583, allocations: 169.2 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1583, allocations: 59.34 kB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1586, allocations: 194.8 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.1586, allocations: 25.7 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.1587, allocations: 112.1 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.1588, allocations: 23.7 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.1588, allocations: 4 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.159, allocations: 326.8 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.1591, allocations: 23.98 kB / 487.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.1591, allocations: 33.7 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.1592, allocations: 24 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1592, allocations: 4 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.1594, allocations: 101.4 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1595, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1595, allocations: 0 / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1595, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1596, allocations: 16 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.1596, allocations: 0 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.269e-05/0.1597, allocations: 11.92 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1597, allocations: 7.953 kB / 487.6 MB, free: 15.09 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.1598, allocations: 125.9 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.1599, allocations: 7.906 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.1599, allocations: 21.39 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1599, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1599, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1599, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.1604, allocations: 407.4 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1604, allocations: 0 / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.1604, allocations: 8 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1605, allocations: 0 / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1605, allocations: 0 / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1605, allocations: 4 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1605, allocations: 3.953 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1607, allocations: 212.2 kB / 488.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.1608, allocations: 89 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1608, allocations: 4 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.1609, allocations: 4 kB / 488.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.1609, allocations: 16.11 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.1609, allocations: 4 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1611, allocations: 152.7 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1611, allocations: 4 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1613, allocations: 20 kB / 488.6 MB, free: 13.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/0.1625, allocations: 468.6 kB / 489.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1627, allocations: 55.92 kB / 489.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1627, allocations: 8 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.1628, allocations: 31.92 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.1632, allocations: 26.89 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005595/0.1638, allocations: 246.2 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.1642, allocations: 0.7121 MB / 490.2 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.149e-05/0.1643, allocations: 17.17 kB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.1643, allocations: 15.44 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1643, allocations: 4 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.005794/0.1701, allocations: 1.613 MB / 491.8 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches