Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.0009726/0.0009726, 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.001048/0.001048, allocations: 164.9 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.9449/0.9449, allocations: 177 MB / 205.2 MB, free: 5.445 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.2732/0.2732, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.593e-05, allocations: 2.312 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003856/0.003882, allocations: 1.766 MB / 327.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.005947, allocations: 1.009 MB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.006046, allocations: 0 / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.006393, allocations: 43.7 kB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.006792, allocations: 95.53 kB / 328.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.007, allocations: 83.55 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.007165, allocations: 108.4 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.007261, allocations: 11.98 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.007355, allocations: 55.77 kB / 329.2 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.007434, allocations: 27.91 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.007453, allocations: 4 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.984e-05/0.007543, allocations: 47.92 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.007598, allocations: 23.92 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.007639, allocations: 27.84 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.007802, allocations: 99.66 kB / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.007806, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.007808, allocations: 0 / 329.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.007812, allocations: 0 / 329.4 MB, free: 3.676 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.0003669/0.008178, allocations: 321.5 kB / 329.7 MB, free: 3.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008213, allocations: 12.03 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.008244, allocations: 8.922 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.008392, allocations: 154.1 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.008406, allocations: 384 / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.008426, allocations: 8.375 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.008531, allocations: 57.77 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.00854, allocations: 4.125 kB / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.008546, allocations: 384 / 330 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.008553, allocations: 7.938 kB / 330 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.008578, allocations: 19.91 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.008775, allocations: 161.9 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.008861, allocations: 93.27 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.008879, allocations: 12.92 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.00889, allocations: 4 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.032e-05/0.00897, allocations: 58.16 kB / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.008971, allocations: 0 / 330.3 MB, free: 2.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002715/0.009242, allocations: 117.5 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.009273, allocations: 59.34 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.009377, allocations: 176.3 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.009393, allocations: 29.7 kB / 330.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.009426, allocations: 104.1 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.009452, allocations: 23.78 kB / 330.8 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.009481, allocations: 21.7 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.009555, allocations: 322.8 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.009573, allocations: 14.81 kB / 331.2 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.009595, allocations: 25.7 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.342e-05/0.009639, allocations: 52.44 kB / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.00964, allocations: 0 / 331.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.356e-05/0.009713, allocations: 64.88 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.009725, allocations: 11.97 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.009729, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.00974, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.009798, allocations: 19.94 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.009801, allocations: 3.984 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.009827, allocations: 4 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.009834, allocations: 4 kB / 331.3 MB, free: 1.555 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.552e-05/0.009899, allocations: 112.7 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.009914, allocations: 15.92 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.01002, allocations: 75.83 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01002, allocations: 4 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01002, allocations: 0 / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01003, allocations: 3.984 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.01024, allocations: 295.4 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.01025, allocations: 3.938 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.01027, allocations: 8 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01027, allocations: 0 / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.01028, allocations: 4 kB / 331.8 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.01028, allocations: 4.219 kB / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01028, allocations: 0 / 331.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.01039, allocations: 219.1 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.0104, allocations: 15.84 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01042, allocations: 4 kB / 332.1 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.01046, allocations: 7.984 kB / 332.1 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.01048, allocations: 4 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.0105, allocations: 4 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.01054, allocations: 60.67 kB / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01054, allocations: 0 / 332.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.01068, allocations: 35.86 kB / 332.2 MB, free: 0.6211 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.001329/0.01201, allocations: 0.554 MB / 332.8 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.471e-05/0.01209, allocations: 40.78 kB / 332.8 MB, free: 308 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.0121, allocations: 4 kB / 332.8 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.964e-05/0.01213, allocations: 24.91 kB / 332.8 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.0123, allocations: 31.92 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.01262, allocations: 235.9 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.01266, allocations: 67.34 kB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.01269, allocations: 17.27 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.01275, allocations: 67.36 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01275, allocations: 0 / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of Templates: time 0.003633/0.01638, allocations: 2.025 MB / 335.3 MB, free: 13.81 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.0222645229659975]