Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.00106/0.00106, 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.001081/0.001081, allocations: 160.3 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 1.098/1.098, allocations: 177 MB / 205.2 MB, free: 5.422 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.2821/0.2821, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.795e-05, allocations: 7.953 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002305/0.002323, allocations: 1.696 MB / 327.7 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.003111, allocations: 0.5447 MB / 328.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.003174, allocations: 4 kB / 328.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.003468, allocations: 115.5 kB / 328.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.003737, allocations: 111.6 kB / 328.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.004039, allocations: 123.5 kB / 328.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.004186, allocations: 87.8 kB / 328.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.004277, allocations: 15.92 kB / 328.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.00435, allocations: 51.88 kB / 328.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.004447, allocations: 55.88 kB / 328.8 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.004461, allocations: 8 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.004546, allocations: 43.92 kB / 328.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.004596, allocations: 31.84 kB / 328.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004627, allocations: 15.92 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004784, allocations: 95.66 kB / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004786, allocations: 0 / 329 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.004787, allocations: 3.938 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004791, allocations: 0 / 329 MB, free: 4.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003485/0.00514, allocations: 330.2 kB / 329.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.005173, allocations: 8.031 kB / 329.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.005204, allocations: 8.922 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.005451, allocations: 154.4 kB / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.005459, allocations: 384 / 329.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.005477, allocations: 4.375 kB / 329.5 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.384e-05/0.005571, allocations: 58.94 kB / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.005581, allocations: 192 / 329.5 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.005588, allocations: 4.312 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005593, allocations: 384 / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.005616, allocations: 11.94 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.005845, allocations: 175.1 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/0.005898, allocations: 37.45 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.005916, allocations: 16.8 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.005942, allocations: 7.984 kB / 329.8 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.005961, allocations: 30.56 kB / 329.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005962, allocations: 4 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000424/0.006386, allocations: 145.5 kB / 330 MB, free: 2.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.006415, allocations: 55.41 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.006538, allocations: 193.6 kB / 330.2 MB, free: 2.723 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.00655, allocations: 29.7 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.006583, allocations: 108 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.006607, allocations: 27.75 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.006637, allocations: 17.7 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.006718, allocations: 330.8 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.006732, allocations: 8 kB / 330.7 MB, free: 2.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.006744, allocations: 4 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.006782, allocations: 35.83 kB / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006783, allocations: 0 / 330.7 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.833e-05/0.006851, allocations: 65.59 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006862, allocations: 8 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.006872, allocations: 4 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.006886, allocations: 0 / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.006945, allocations: 15.98 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.006948, allocations: 0 / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.006966, allocations: 8 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.006972, allocations: 3.938 kB / 330.8 MB, free: 2.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.653e-05/0.007028, allocations: 120.7 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.007047, allocations: 7.938 kB / 331 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.007153, allocations: 75.12 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.007155, allocations: 0 / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.007156, allocations: 4 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007159, allocations: 0 / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.007435, allocations: 263.5 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007437, allocations: 0 / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.007476, allocations: 15.94 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.007479, allocations: 4 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007484, allocations: 0 / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.007487, allocations: 3.984 kB / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007488, allocations: 0 / 331.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.969e-05/0.007578, allocations: 164.3 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007588, allocations: 15.94 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.0076, allocations: 4 kB / 331.5 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.007633, allocations: 4 kB / 331.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.007664, allocations: 7.922 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007668, allocations: 4 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.728e-05/0.007716, allocations: 64.47 kB / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007716, allocations: 0 / 331.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.007861, allocations: 27.92 kB / 331.6 MB, free: 1.195 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001241/0.009102, allocations: 0.5663 MB / 332.2 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.009191, allocations: 32.78 kB / 332.2 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.009196, allocations: 4 kB / 332.2 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.244e-05/0.009219, allocations: 20.84 kB / 332.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.009385, allocations: 27.98 kB / 332.3 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.009709, allocations: 246.5 kB / 332.5 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.352e-05/0.009752, allocations: 71.33 kB / 332.6 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.524e-05/0.009797, allocations: 9.031 kB / 332.6 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.009851, allocations: 63.36 kB / 332.6 MB, free: 396 kB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009852, allocations: 0 / 332.6 MB, free: 396 kB / 298.7 MB Notification: Performance of Templates: time 0.003345/0.0132, allocations: 1.536 MB / 334.2 MB, free: 14.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.1202079132199287]