Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.331/2.331, allocations: 227.4 MB / 246.9 MB, free: 8.895 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3886/0.3886, allocations: 46.12 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 77.16 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2276, allocations: 62.45 MB / 480 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00552/0.2331, allocations: 1.968 MB / 481.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.2363, allocations: 1.123 MB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2365, allocations: 0 / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.2372, allocations: 223.5 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.238, allocations: 191.5 kB / 483.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.2385, allocations: 91.84 kB / 483.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.2391, allocations: 251.2 kB / 483.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2392, allocations: 29.66 kB / 483.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.2395, allocations: 111.5 kB / 483.9 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.2399, allocations: 155.5 kB / 484.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.2399, allocations: 4 kB / 484.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.2402, allocations: 63.95 kB / 484.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2403, allocations: 55.77 kB / 484.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.2405, allocations: 95.22 kB / 484.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.2409, allocations: 172 kB / 484.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2409, allocations: 4 kB / 484.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2409, allocations: 0 / 484.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.241, allocations: 4 kB / 484.5 MB, free: 1.145 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001125/0.2421, allocations: 0.5526 MB / 485 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.2422, allocations: 8.031 kB / 485 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.2423, allocations: 36.55 kB / 485.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.2428, allocations: 284 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.2428, allocations: 8.359 kB / 485.3 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.2429, allocations: 16.12 kB / 485.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.2433, allocations: 107.3 kB / 485.5 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.2433, allocations: 8 kB / 485.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.2434, allocations: 0 / 485.5 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2434, allocations: 3.938 kB / 485.5 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2436, allocations: 44.02 kB / 485.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.2445, allocations: 484.6 kB / 486 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.2452, allocations: 113.2 kB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2454, allocations: 49.81 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.2454, allocations: 7.938 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.2459, allocations: 121.1 kB / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.314e-06/0.2459, allocations: 0 / 486.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.002211/0.2481, allocations: 0.5046 MB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.2482, allocations: 85.05 kB / 486.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007801/0.249, allocations: 444.5 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.2491, allocations: 33.7 kB / 487.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.2492, allocations: 156.4 kB / 487.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2494, allocations: 78.98 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2495, allocations: 41.7 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.2497, allocations: 354.8 kB / 487.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.2499, allocations: 55.98 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.2502, allocations: 87.39 kB / 488.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.2507, allocations: 159.3 kB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.2507, allocations: 0 / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006996/0.2514, allocations: 241.1 kB / 488.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.2515, allocations: 7.938 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2515, allocations: 3.938 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2515, allocations: 4 kB / 488.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.2518, allocations: 35.98 kB / 488.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2518, allocations: 4 kB / 488.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.252, allocations: 16.05 kB / 488.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.252, allocations: 8 kB / 488.6 MB, free: 12.75 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000274/0.2523, allocations: 170.3 kB / 488.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/0.2524, allocations: 39.47 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2525, allocations: 38.81 kB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2526, allocations: 4 kB / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2526, allocations: 0 / 488.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2526, allocations: 7.984 kB / 488.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.2541, allocations: 0.7272 MB / 489.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.2541, allocations: 3.984 kB / 489.5 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2543, allocations: 27.94 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2543, allocations: 4 kB / 489.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.2543, allocations: 16.11 kB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2544, allocations: 0 / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.2544, allocations: 4.234 kB / 489.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.2552, allocations: 425.8 kB / 490 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.2553, allocations: 104.7 kB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.2554, allocations: 8 kB / 490.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.2557, allocations: 15.98 kB / 490.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.2558, allocations: 19.86 kB / 490.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/0.2559, allocations: 12 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005331/0.2564, allocations: 331 kB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2564, allocations: 4 kB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006968/0.2571, allocations: 51.98 kB / 490.5 MB, free: 10.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002061/0.2592, allocations: 0.506 MB / 491.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.2598, allocations: 155.8 kB / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.2598, allocations: 4 kB / 491.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.2601, allocations: 84.28 kB / 491.3 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009604/0.2611, allocations: 68.41 kB / 491.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.2625, allocations: 0.6564 MB / 492 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.2631, allocations: 0.7826 MB / 492.8 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.2632, allocations: 27.44 kB / 492.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2632, allocations: 0 / 492.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of Templates: time 0.01055/0.2738, allocations: 3.742 MB / 496.6 MB, free: 4.742 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time