Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, allocations: 109.7 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.11 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 80.89 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.134, allocations: 62.43 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003868/0.1379, allocations: 1.89 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1401, allocations: 1.084 MB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.1403, allocations: 0 / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.141, allocations: 295.4 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.1417, allocations: 235.4 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1421, allocations: 87.84 kB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004279/0.1425, allocations: 259.3 kB / 483.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.979e-05/0.1426, allocations: 13.67 kB / 483.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1428, allocations: 135.5 kB / 483.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1431, allocations: 200 kB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1432, allocations: 8 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1433, allocations: 55.91 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.1435, allocations: 132.5 kB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1436, allocations: 142.8 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.1441, allocations: 367 kB / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1441, allocations: 0 / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1441, allocations: 0 / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1441, allocations: 0 / 484.3 MB, free: 0.7188 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001012/0.1451, allocations: 0.7346 MB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1452, allocations: 12.03 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.1453, allocations: 48.28 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.1458, allocations: 447.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1458, allocations: 4.375 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.1459, allocations: 8.125 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.1461, allocations: 83.3 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1461, allocations: 4 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1461, allocations: 8 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1462, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1463, allocations: 23.98 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1467, allocations: 370.4 kB / 486.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.147, allocations: 109.2 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.1471, allocations: 49.62 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.1471, allocations: 0 / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.1475, allocations: 113 kB / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1475, allocations: 0 / 486.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005032/0.148, allocations: 204.8 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.148, allocations: 81.09 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.1491, allocations: 1.019 MB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1491, allocations: 29.64 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1493, allocations: 236.1 kB / 487.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.1494, allocations: 35.62 kB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.1494, allocations: 25.72 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1496, allocations: 370.8 kB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.1497, allocations: 31.97 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.405e-05/0.1498, allocations: 59.05 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.15, allocations: 95.84 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.15, allocations: 0 / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003115/0.1503, allocations: 172.8 kB / 488.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1503, allocations: 4 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1503, allocations: 0 / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1504, allocations: 4 kB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1505, allocations: 19.98 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1505, allocations: 8.062 kB / 488.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1506, allocations: 11.89 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.1506, allocations: 8 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000215/0.1509, allocations: 217.7 kB / 488.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.1509, allocations: 47.44 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.151, allocations: 60.09 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.151, allocations: 4 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.151, allocations: 0 / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.151, allocations: 7.984 kB / 489 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.1514, allocations: 345.2 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1514, allocations: 3.984 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.1514, allocations: 8 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1514, allocations: 0 / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1515, allocations: 4 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1515, allocations: 4.125 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1515, allocations: 0 / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.1518, allocations: 209.2 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.152, allocations: 136.5 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.152, allocations: 4 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1521, allocations: 96 / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1522, allocations: 19.86 kB / 489.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1522, allocations: 8 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007981/0.153, allocations: 0.7682 MB / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.153, allocations: 0 / 490.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1533, allocations: 48 kB / 490.6 MB, free: 10.09 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000992/0.1543, allocations: 403.6 kB / 491 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.1546, allocations: 83.89 kB / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1546, allocations: 0 / 491.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1547, allocations: 39.92 kB / 491.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1551, allocations: 77.62 kB / 491.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1564, allocations: 0.9487 MB / 492.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1568, allocations: 0.8503 MB / 493 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.157, allocations: 62.88 kB / 493 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.157, allocations: 27.44 kB / 493.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1571, allocations: 0 / 493.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of Templates: time 0.009418/0.1665, allocations: 3.68 MB / 496.7 MB, free: 4.027 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches