Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 111.6 kB / 17.98 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001906/0.001907, allocations: 209.8 kB / 18.92 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.819/1.819, allocations: 227.4 MB / 247.1 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5161/0.5161, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 77.72 kB / 417.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.243, allocations: 62.44 MB / 480.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.006209/0.2493, allocations: 1.781 MB / 481.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.2526, allocations: 1.01 MB / 482.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.2528, allocations: 0 / 482.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.2533, allocations: 55.81 kB / 483 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.254, allocations: 79.73 kB / 483.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.2544, allocations: 75.8 kB / 483.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.2548, allocations: 99.7 kB / 483.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.255, allocations: 23.97 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2551, allocations: 39.8 kB / 483.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2553, allocations: 47.7 kB / 483.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.2554, allocations: 4 kB / 483.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.2556, allocations: 39.98 kB / 483.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2557, allocations: 27.91 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.81e-05/0.2558, allocations: 39.69 kB / 483.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2561, allocations: 112 kB / 483.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.2562, allocations: 3.938 kB / 483.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.2562, allocations: 4 kB / 483.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2562, allocations: 0 / 483.6 MB, free: 2.184 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.0009613/0.2572, allocations: 442.6 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.2573, allocations: 12.03 kB / 484 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.2573, allocations: 12.83 kB / 484 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2578, allocations: 220.9 kB / 484.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2578, allocations: 384 / 484.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.2578, allocations: 12.12 kB / 484.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.2581, allocations: 53.67 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.2581, allocations: 0 / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2582, allocations: 4 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.2582, allocations: 4 kB / 484.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.2583, allocations: 19.92 kB / 484.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005797/0.2589, allocations: 296.9 kB / 484.6 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.2592, allocations: 54.69 kB / 484.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2593, allocations: 28.78 kB / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2594, allocations: 0 / 484.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.2597, allocations: 71.33 kB / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.405e-06/0.2597, allocations: 0 / 484.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009469/0.2607, allocations: 193 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2607, allocations: 55.41 kB / 485 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.2612, allocations: 267 kB / 485.3 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.2612, allocations: 25.7 kB / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2614, allocations: 116.1 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.822e-05/0.2614, allocations: 23.7 kB / 485.5 MB, free: 108 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.2615, allocations: 25.72 kB / 485.5 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.2617, allocations: 330.8 kB / 485.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2619, allocations: 20 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.262, allocations: 37.7 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.2622, allocations: 65.64 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2622, allocations: 0 / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003594/0.2626, allocations: 97.5 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2627, allocations: 4 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2627, allocations: 3.984 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2627, allocations: 4.031 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2629, allocations: 20.12 kB / 486.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.2629, allocations: 4.141 kB / 486.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.263, allocations: 15.81 kB / 486.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.2631, allocations: 4 kB / 486.1 MB, free: 15.45 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.0001782/0.2632, allocations: 137.8 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2633, allocations: 15.81 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.2634, allocations: 17.41 kB / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2634, allocations: 0 / 486.2 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2634, allocations: 4 kB / 486.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.2634, allocations: 11.91 kB / 486.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.2641, allocations: 403.3 kB / 486.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.2641, allocations: 3.984 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.2642, allocations: 8 kB / 486.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.2642, allocations: 3.938 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.2642, allocations: 3.938 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.2643, allocations: 4.375 kB / 486.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2643, allocations: 7.969 kB / 486.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.2646, allocations: 204.2 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.2647, allocations: 92.91 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.2648, allocations: 11.94 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2649, allocations: 4 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.265, allocations: 7.984 kB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.265, allocations: 8 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002973/0.2654, allocations: 200.4 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2654, allocations: 0 / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004676/0.2659, allocations: 27.98 kB / 487.2 MB, free: 14.2 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.001662/0.2675, allocations: 465 kB / 487.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2678, allocations: 59.92 kB / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2678, allocations: 0 / 487.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.2679, allocations: 27.98 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.2685, allocations: 30.97 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.2692, allocations: 361.6 kB / 488.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2696, allocations: 0.7197 MB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.2697, allocations: 19.42 kB / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2697, allocations: 0 / 488.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.1121/0.3818, allocations: 2.104 MB / 491 MB, free: 10.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches