Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001512/0.001512, allocations: 88.86 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.0011/0.0011, allocations: 158.5 kB / 24.91 MB, free: 8.719 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 1.022/1.022, allocations: 177 MB / 205.2 MB, free: 5.035 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.317/0.317, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.585e-05, allocations: 6.312 kB / 326 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002743/0.002759, allocations: 1.777 MB / 327.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.004283, allocations: 1.013 MB / 328.8 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.54e-05/0.004359, allocations: 4 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.004672, allocations: 91.62 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.005002, allocations: 123.4 kB / 329 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.005205, allocations: 83.59 kB / 329.1 MB, free: 3.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.005399, allocations: 124.4 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.431e-05/0.005483, allocations: 11.98 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.005601, allocations: 75.73 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005705, allocations: 55.86 kB / 329.4 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.005721, allocations: 7.938 kB / 329.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.00583, allocations: 63.92 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.005882, allocations: 27.92 kB / 329.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.00592, allocations: 23.86 kB / 329.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.006111, allocations: 115.6 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-06/0.006113, allocations: 3.938 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006113, allocations: 0 / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.006116, allocations: 0 / 329.6 MB, free: 3.469 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004072/0.006524, allocations: 345.4 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.006554, allocations: 8.031 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.00659, allocations: 8.938 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.006767, allocations: 162.3 kB / 330.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006784, allocations: 4.375 kB / 330.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.006804, allocations: 4.375 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.006919, allocations: 69.75 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.006928, allocations: 4.125 kB / 330.2 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006936, allocations: 4.359 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006943, allocations: 7.922 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.006973, allocations: 8 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.007206, allocations: 177.9 kB / 330.4 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.007376, allocations: 85.3 kB / 330.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.007406, allocations: 24.91 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.007416, allocations: 4 kB / 330.5 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.212e-05/0.007508, allocations: 66.28 kB / 330.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.00751, allocations: 0 / 330.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004602/0.00797, allocations: 169.9 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.008004, allocations: 55.41 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008155, allocations: 197.6 kB / 331 MB, free: 1.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.008172, allocations: 33.64 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.00822, allocations: 100.1 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.008257, allocations: 35.67 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.008299, allocations: 29.7 kB / 331.2 MB, free: 1.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.008394, allocations: 326.8 kB / 331.5 MB, free: 1.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.008418, allocations: 14.77 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.008456, allocations: 30.69 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.264e-05/0.008519, allocations: 50.16 kB / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.00852, allocations: 0 / 331.6 MB, free: 1.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001147/0.008635, allocations: 84.38 kB / 331.7 MB, free: 1.223 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008646, allocations: 8.031 kB / 331.7 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.008652, allocations: 4 kB / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.008664, allocations: 0 / 331.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.008733, allocations: 19.98 kB / 331.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008738, allocations: 3.938 kB / 331.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.73e-05/0.008775, allocations: 4 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.008782, allocations: 0 / 331.7 MB, free: 1.184 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 (13): * Single equations (assignments): 13 * 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 7.46e-05/0.008857, allocations: 128.6 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.00888, allocations: 19.92 kB / 331.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009024, allocations: 88.36 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.009028, allocations: 8 kB / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.00903, allocations: 0 / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.009033, allocations: 0 / 331.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.009369, allocations: 328.1 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.009374, allocations: 8 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.00942, allocations: 15.94 kB / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009422, allocations: 0 / 332.3 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.009433, allocations: 8 kB / 332.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.009436, allocations: 3.984 kB / 332.3 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.009437, allocations: 4.062 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.009589, allocations: 227.9 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.00961, allocations: 23.88 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.009629, allocations: 0 / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.009696, allocations: 4 kB / 332.5 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.009728, allocations: 15.92 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.00974, allocations: 4 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.717e-05/0.009807, allocations: 56.53 kB / 332.6 MB, free: 184 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009807, allocations: 0 / 332.6 MB, free: 184 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.01008, allocations: 35.92 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001836/0.01192, allocations: 0.6453 MB / 333.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.01202, allocations: 48.78 kB / 333.3 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.01203, allocations: 4 kB / 333.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.01207, allocations: 28.78 kB / 333.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01232, allocations: 35.91 kB / 333.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.01272, allocations: 263.8 kB / 333.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.01278, allocations: 75.33 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.01283, allocations: 20.58 kB / 333.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.01292, allocations: 67.36 kB / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01292, allocations: 0 / 333.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.004787/0.01771, allocations: 2.298 MB / 336.1 MB, free: 12.96 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.1310588298365474]