Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.001382/0.001382, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001083/0.001083, allocations: 160.6 kB / 24.91 MB, free: 9.145 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.449 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.2783/0.2783, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 326 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.795e-05, allocations: 4 kB / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.00246/0.002488, allocations: 1.815 MB / 327.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003794, allocations: 0.9978 MB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.003864, allocations: 7.938 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.004126, allocations: 35.78 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.004346, allocations: 99.41 kB / 329 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.004483, allocations: 79.66 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.004633, allocations: 104.4 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.004727, allocations: 19.95 kB / 329.2 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.004814, allocations: 47.84 kB / 329.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.518e-05/0.004889, allocations: 27.89 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.004905, allocations: 4 kB / 329.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.004982, allocations: 47.88 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.005034, allocations: 27.86 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.005072, allocations: 23.91 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.005232, allocations: 99.66 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005235, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005236, allocations: 0 / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00524, allocations: 0 / 329.5 MB, free: 3.57 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.0003587/0.005598, allocations: 317.5 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.005627, allocations: 12.03 kB / 329.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.005657, allocations: 8.922 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.005809, allocations: 154.2 kB / 330 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.005822, allocations: 4.375 kB / 330 MB, free: 3.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.005837, allocations: 4.375 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.816e-05/0.005935, allocations: 61.77 kB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.005944, allocations: 192 / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.00595, allocations: 384 / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.005956, allocations: 3.938 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.005977, allocations: 11.98 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.006163, allocations: 170 kB / 330.2 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.00625, allocations: 93.2 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.006267, allocations: 12.86 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.006276, allocations: 0 / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/0.006354, allocations: 62.22 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.006355, allocations: 0 / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002578/0.006612, allocations: 117.8 kB / 330.5 MB, free: 2.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.006639, allocations: 51.41 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.006742, allocations: 181.3 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006754, allocations: 25.7 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.006785, allocations: 96.11 kB / 330.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.006809, allocations: 35.77 kB / 330.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.006838, allocations: 21.72 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.006921, allocations: 326.8 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.006937, allocations: 14.81 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.006961, allocations: 25.72 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.017e-05/0.007001, allocations: 36.52 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007003, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.15e-05/0.007074, allocations: 72.44 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.007086, allocations: 15.92 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.00709, allocations: 4.031 kB / 331.4 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.007103, allocations: 3.938 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.449e-05/0.007157, allocations: 12 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.007161, allocations: 7.938 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.007184, allocations: 4 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007191, allocations: 7.984 kB / 331.4 MB, free: 1.457 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 5.6e-05/0.007247, allocations: 112.7 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.007259, allocations: 15.92 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.488e-05/0.007354, allocations: 75.08 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.007357, allocations: 4 kB / 331.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.007359, allocations: 4 kB / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.007362, allocations: 0 / 331.6 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.007557, allocations: 295.6 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.007561, allocations: 11.92 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.007583, allocations: 8 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007585, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.00759, allocations: 0 / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007591, allocations: 4 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007592, allocations: 0 / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.007687, allocations: 211.1 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.0077, allocations: 19.88 kB / 332.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007713, allocations: 4 kB / 332.2 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.007747, allocations: 4 kB / 332.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.007769, allocations: 7.984 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.007779, allocations: 4 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.007815, allocations: 47.64 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007815, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.007946, allocations: 27.94 kB / 332.2 MB, free: 0.543 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.001129/0.009076, allocations: 0.5716 MB / 332.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.009148, allocations: 32.84 kB / 332.8 MB, free: 220 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.00915, allocations: 7.938 kB / 332.9 MB, free: 212 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.009177, allocations: 24.78 kB / 332.9 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.009339, allocations: 43.97 kB / 332.9 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.0096, allocations: 208 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.009656, allocations: 71.33 kB / 333.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.297e-05/0.009689, allocations: 13.28 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.009747, allocations: 71.36 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009748, allocations: 3.938 kB / 333.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of Templates: time 0.003066/0.01281, allocations: 2.013 MB / 335.3 MB, free: 13.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.1199762681499124]