Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001026/0.001026, 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.00104/0.00104, allocations: 160.9 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.018/1.018, allocations: 177 MB / 205.2 MB, free: 5.02 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.3103/0.3103, allocations: 34.86 MB / 296.6 MB, free: 400 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 326 MB, free: 7.055 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.902e-05, allocations: 6.312 kB / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003734/0.003763, allocations: 1.736 MB / 327.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004872, allocations: 0.564 MB / 328.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.004949, allocations: 7.938 kB / 328.3 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.005596, allocations: 463 kB / 328.7 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.006098, allocations: 291.2 kB / 329 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.006574, allocations: 163.5 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.006864, allocations: 180.4 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.006965, allocations: 15.95 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.007139, allocations: 123.8 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.007374, allocations: 199.6 kB / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.007392, allocations: 0 / 329.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.007493, allocations: 39.92 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.007597, allocations: 87.66 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.007644, allocations: 35.73 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.007939, allocations: 203.1 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.007943, allocations: 0 / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007944, allocations: 0 / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.00795, allocations: 0 / 330 MB, free: 2.961 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.0006032/0.008553, allocations: 0.5385 MB / 330.6 MB, free: 2.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.008592, allocations: 12.03 kB / 330.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.008648, allocations: 28.91 kB / 330.6 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.008923, allocations: 250 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.008935, allocations: 384 / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.008957, allocations: 8.375 kB / 330.9 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.009078, allocations: 58.92 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009089, allocations: 192 / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.0091, allocations: 8.359 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.009106, allocations: 384 / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.009138, allocations: 11.94 kB / 331 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.009497, allocations: 199 kB / 331.2 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.009648, allocations: 37.39 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.009668, allocations: 4.859 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.009686, allocations: 4 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.00971, allocations: 30.56 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.009712, allocations: 0 / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003612/0.01007, allocations: 117.5 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.01011, allocations: 51.41 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.0106, allocations: 0.5244 MB / 331.9 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01062, allocations: 29.64 kB / 331.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.01071, allocations: 153.3 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.01073, allocations: 11.84 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.01077, allocations: 25.64 kB / 332.1 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01089, allocations: 358.7 kB / 332.5 MB, free: 368 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.01091, allocations: 4 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.01092, allocations: 7.984 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.01097, allocations: 15.69 kB / 332.5 MB, free: 336 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.01097, allocations: 0 / 332.5 MB, free: 336 kB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001018/0.01107, allocations: 65.66 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01108, allocations: 7.938 kB / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01109, allocations: 256 / 332.6 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.0111, allocations: 4 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.01118, allocations: 19.92 kB / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01119, allocations: 0 / 332.6 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.01123, allocations: 8 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.01124, allocations: 0 / 332.6 MB, free: 224 kB / 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 (5): * Single equations (assignments): 5 * 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 9.459e-05/0.01133, allocations: 112.7 kB / 332.7 MB, free: 100 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.01137, allocations: 23.91 kB / 332.7 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.01155, allocations: 89.23 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01156, allocations: 0 / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.01156, allocations: 4 kB / 332.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01156, allocations: 3.984 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.0119, allocations: 270.6 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.0119, allocations: 0 / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.01195, allocations: 15.92 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.01196, allocations: 0 / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.01196, allocations: 0 / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01197, allocations: 0 / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.01197, allocations: 4 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.0121, allocations: 159.5 kB / 333.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.01214, allocations: 39.66 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.01216, allocations: 4 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.01223, allocations: 4 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.01226, allocations: 3.984 kB / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.01226, allocations: 192 / 333.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003039/0.01257, allocations: 287.2 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.01257, allocations: 0 / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.01281, allocations: 27.95 kB / 333.6 MB, free: 15.13 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001607/0.01442, allocations: 0.4915 MB / 334.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.882e-05/0.01452, allocations: 32.78 kB / 334.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.01453, allocations: 4 kB / 334.2 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.01455, allocations: 12.86 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.01484, allocations: 33.03 kB / 334.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008526/0.01569, allocations: 0.5779 MB / 334.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.0158, allocations: 123.2 kB / 334.9 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.838e-05/0.01585, allocations: 4 kB / 334.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.01593, allocations: 67.36 kB / 335 MB, free: 13.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01593, allocations: 4 kB / 335 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Templates: time 0.004994/0.02092, allocations: 1.457 MB / 336.4 MB, free: 12.54 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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: 2.928202555049211]