Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.00131, allocations: 109.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.12 MB / 344.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002919/0.00292, allocations: 79.7 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1392, allocations: 62.46 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003565/0.1428, allocations: 1.713 MB / 482.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1447, allocations: 1.029 MB / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.1448, allocations: 0 / 483.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1452, allocations: 39.77 kB / 483.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.1456, allocations: 95.59 kB / 483.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1458, allocations: 71.67 kB / 483.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1461, allocations: 111.7 kB / 483.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1462, allocations: 19.92 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1463, allocations: 39.8 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.1464, allocations: 31.73 kB / 483.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1465, allocations: 4 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1466, allocations: 43.97 kB / 484 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1467, allocations: 23.92 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.1468, allocations: 27.81 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.147, allocations: 119.9 kB / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1471, allocations: 0 / 484.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1471, allocations: 3.938 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1471, allocations: 0 / 484.1 MB, free: 1.832 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.0006682/0.1478, allocations: 411 kB / 484.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1478, allocations: 11.97 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1479, allocations: 12.75 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1482, allocations: 212.1 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1482, allocations: 4.375 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1482, allocations: 8.125 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1484, allocations: 57.67 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1484, allocations: 0 / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1484, allocations: 0 / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1485, allocations: 0 / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.1486, allocations: 23.97 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.149, allocations: 288.8 kB / 485.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1492, allocations: 58.69 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.1493, allocations: 20.84 kB / 485.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1493, allocations: 4 kB / 485.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.1496, allocations: 67.33 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1496, allocations: 0 / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.1502, allocations: 177.2 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.1502, allocations: 55.41 kB / 485.5 MB, free: 272 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.1505, allocations: 183.3 kB / 485.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1505, allocations: 25.7 kB / 485.7 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.1506, allocations: 112 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.1506, allocations: 23.73 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1507, allocations: 17.72 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1509, allocations: 330.8 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.426e-05/0.1509, allocations: 23.98 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.151, allocations: 37.64 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1511, allocations: 61.66 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1512, allocations: 3.984 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.1514, allocations: 97.48 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1514, allocations: 8.031 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1514, allocations: 4 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1514, allocations: 0 / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.1515, allocations: 19.92 kB / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1515, allocations: 0 / 486.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1516, allocations: 11.94 kB / 486.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1516, allocations: 4 kB / 486.5 MB, free: 15.27 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.0001228/0.1518, allocations: 121.8 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.1518, allocations: 7.906 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1518, allocations: 17.41 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1519, allocations: 0 / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1519, allocations: 4 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1519, allocations: 4.312 kB / 486.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.1524, allocations: 391.2 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1524, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.1525, allocations: 8 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1525, allocations: 8.031 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.1525, allocations: 7.938 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1525, allocations: 3.938 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1525, allocations: 0 / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1528, allocations: 204.5 kB / 487.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.1529, allocations: 85.02 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1529, allocations: 11.94 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.817e-05/0.153, allocations: 4 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.153, allocations: 7.984 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1531, allocations: 7.938 kB / 487.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1532, allocations: 143.9 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1532, allocations: 0 / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1535, allocations: 20 kB / 487.5 MB, free: 14.12 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.001723/0.1552, allocations: 457.2 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1555, allocations: 63.91 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1555, allocations: 0 / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.482e-05/0.1556, allocations: 27.98 kB / 488 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.156, allocations: 35.58 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.1566, allocations: 248.8 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1569, allocations: 0.7119 MB / 489 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.157, allocations: 15.44 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.157, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.004701/0.1617, allocations: 1.92 MB / 491 MB, free: 10.76 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches