Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009878/0.0009878, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001174/0.001174, allocations: 165.1 kB / 24.91 MB, free: 9.184 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.9732/0.9732, allocations: 177 MB / 205.2 MB, free: 5.469 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.2824/0.2824, allocations: 34.87 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.376e-05, allocations: 4.703 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002484/0.002508, allocations: 1.759 MB / 327.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003866, allocations: 1.013 MB / 328.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.25e-05/0.003948, allocations: 0 / 328.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.004256, allocations: 43.64 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.004618, allocations: 95.53 kB / 328.9 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.00482, allocations: 83.59 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.004962, allocations: 104.4 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.755e-05/0.00504, allocations: 19.95 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.005127, allocations: 59.78 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.005199, allocations: 23.91 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.005214, allocations: 8 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.005291, allocations: 43.92 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.005341, allocations: 19.92 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.005379, allocations: 23.91 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.005534, allocations: 103.6 kB / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.005536, allocations: 0 / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005537, allocations: 0 / 329.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.005541, allocations: 0 / 329.4 MB, free: 3.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003785/0.005919, allocations: 325.5 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.005949, allocations: 16.03 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.005979, allocations: 8.922 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.006128, allocations: 142.1 kB / 329.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.006146, allocations: 4.375 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.006166, allocations: 4.375 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.006277, allocations: 57.77 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.006291, allocations: 4.172 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006299, allocations: 4.375 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.006308, allocations: 7.938 kB / 330 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.00634, allocations: 11.92 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.006554, allocations: 169.9 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.217e-05/0.006646, allocations: 93.28 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.006665, allocations: 8.859 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.006675, allocations: 0 / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.328e-05/0.006759, allocations: 62.16 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.006761, allocations: 3.984 kB / 330.3 MB, free: 2.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002723/0.007033, allocations: 117.5 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.007066, allocations: 55.41 kB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.007172, allocations: 188.2 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007187, allocations: 25.7 kB / 330.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.007219, allocations: 100 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.007241, allocations: 23.8 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.00727, allocations: 29.69 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.007355, allocations: 322.8 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.007371, allocations: 10.83 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.363e-05/0.007394, allocations: 29.25 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.007436, allocations: 44.47 kB / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007437, allocations: 0 / 331.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.555e-05/0.007513, allocations: 72.86 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.007524, allocations: 7.938 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007528, allocations: 0 / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.007541, allocations: 4 kB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.007601, allocations: 23.92 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.007604, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.00763, allocations: 4 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.007636, allocations: 4 kB / 331.3 MB, free: 1.566 MB / 298.7 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 6.694e-05/0.007703, allocations: 119.5 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.007717, allocations: 15.95 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.00782, allocations: 75.08 kB / 331.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.007824, allocations: 7.984 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007826, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.00783, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.008046, allocations: 287.5 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.008049, allocations: 3.938 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.008071, allocations: 8 kB / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008073, allocations: 0 / 331.8 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.008084, allocations: 11.98 kB / 331.9 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008085, allocations: 8.203 kB / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008086, allocations: 0 / 331.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.008189, allocations: 211 kB / 332.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.008203, allocations: 15.84 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.008228, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.008266, allocations: 7.984 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/0.008291, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.008306, allocations: 7.984 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.94e-05/0.008355, allocations: 60.62 kB / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008355, allocations: 0 / 332.2 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.00851, allocations: 31.94 kB / 332.2 MB, free: 0.6328 MB / 298.7 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 (9): * Single equations (assignments): 7 * 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.001228/0.009738, allocations: 0.5566 MB / 332.8 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.009839, allocations: 40.78 kB / 332.8 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.009845, allocations: 4 kB / 332.8 MB, free: 312 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.009875, allocations: 20.84 kB / 332.8 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.01006, allocations: 39.84 kB / 332.9 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.01038, allocations: 231.9 kB / 333.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.01042, allocations: 67.34 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.483e-05/0.01045, allocations: 17.27 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.01051, allocations: 75.42 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01051, allocations: 0 / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Templates: time 0.003244/0.01376, allocations: 2.012 MB / 335.2 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.0243240310810506]