Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009573/0.0009573, allocations: 88.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000991/0.000991, allocations: 166.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9804/0.9804, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2523/0.2523, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.873e-05, allocations: 6.969 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00382/0.003849, allocations: 1.937 MB / 327.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.005993, allocations: 1.115 MB / 329.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.006109, allocations: 0 / 329.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.006671, allocations: 255.2 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.007242, allocations: 239 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.007601, allocations: 115.5 kB / 329.7 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.007984, allocations: 287.9 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.008091, allocations: 22.59 kB / 330 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.008344, allocations: 159.6 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.008589, allocations: 163.6 kB / 330.3 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.008618, allocations: 8 kB / 330.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.008763, allocations: 67.91 kB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.008861, allocations: 71.7 kB / 330.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.008935, allocations: 51.78 kB / 330.5 MB, free: 2.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.009256, allocations: 203.1 kB / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.009259, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00926, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.009266, allocations: 0 / 330.7 MB, free: 2.402 MB / 298.7 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.0009993/0.01027, allocations: 0.4922 MB / 331.2 MB, free: 1.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.0103, allocations: 8.031 kB / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.495e-05/0.01038, allocations: 24.91 kB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.01069, allocations: 220.2 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.01071, allocations: 4.375 kB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.01074, allocations: 16.38 kB / 331.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.01094, allocations: 111.3 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01095, allocations: 192 / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.01097, allocations: 4.375 kB / 331.5 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.01098, allocations: 7.938 kB / 331.5 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.01104, allocations: 25.62 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.01151, allocations: 308.8 kB / 331.9 MB, free: 1.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.0118, allocations: 178.8 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.01185, allocations: 33.64 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.01187, allocations: 4 kB / 332.1 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.01203, allocations: 115 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.01203, allocations: 4 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008882/0.01292, allocations: 325.8 kB / 332.5 MB, free: 416 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.01297, allocations: 77.11 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.01331, allocations: 361 kB / 332.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.01334, allocations: 33.7 kB / 333 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.01341, allocations: 125.5 kB / 333.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.01348, allocations: 71.38 kB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.01355, allocations: 49.67 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.01367, allocations: 350.7 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.01372, allocations: 22.81 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.01379, allocations: 55.41 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.01392, allocations: 106 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01393, allocations: 4 kB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002062/0.01413, allocations: 139.1 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01415, allocations: 4 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01416, allocations: 4 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.01417, allocations: 0 / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01431, allocations: 43.92 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01431, allocations: 0 / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.01439, allocations: 11.98 kB / 333.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.0144, allocations: 4 kB / 333.9 MB, free: 14.89 MB / 314.7 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.0001153/0.01452, allocations: 136.6 kB / 334.1 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.01457, allocations: 27.97 kB / 334.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.01485, allocations: 160.4 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01485, allocations: 3.938 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01486, allocations: 7.984 kB / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01486, allocations: 0 / 334.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.01548, allocations: 0.5594 MB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01548, allocations: 4.125 kB / 334.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.01557, allocations: 31.92 kB / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.01558, allocations: 4 kB / 334.9 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.0156, allocations: 11.98 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.0156, allocations: 3.938 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.01561, allocations: 4 kB / 334.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.0159, allocations: 409.4 kB / 335.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.01594, allocations: 31.75 kB / 335.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.01598, allocations: 11.94 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.01614, allocations: 12 kB / 335.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.01619, allocations: 15.97 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.01622, allocations: 19.98 kB / 335.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001919/0.01641, allocations: 159.6 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01641, allocations: 0 / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.01678, allocations: 55.92 kB / 335.6 MB, free: 13.15 MB / 314.7 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 (24): * Single equations (assignments): 20 * 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.001854/0.01863, allocations: 0.6423 MB / 336.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01879, allocations: 105.3 kB / 336.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.01879, allocations: 4 kB / 336.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.01885, allocations: 60.7 kB / 336.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.01916, allocations: 71.27 kB / 336.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.01974, allocations: 0.5079 MB / 337 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.0198, allocations: 100.3 kB / 337.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.01987, allocations: 41.91 kB / 337.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01999, allocations: 95.36 kB / 337.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01999, allocations: 4 kB / 337.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Templates: time 0.008107/0.02809, allocations: 3.66 MB / 340.9 MB, free: 8.172 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0721443509683013]