Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 171.9 kB / 24.91 MB, free: 8.707 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9757/0.9757, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3136/0.3136, allocations: 34.26 MB / 296.1 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.192e-05, allocations: 3.188 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003343/0.003365, allocations: 1.733 MB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.004131, allocations: 0.5568 MB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.298e-05/0.004184, allocations: 4 kB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.004429, allocations: 95.61 kB / 327.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.004649, allocations: 115.5 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.004882, allocations: 115.7 kB / 327.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.005025, allocations: 104.4 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.005114, allocations: 19.97 kB / 328 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.983e-05/0.005183, allocations: 55.83 kB / 328.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.005269, allocations: 55.86 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.005292, allocations: 4 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.005368, allocations: 51.92 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.005409, allocations: 23.92 kB / 328.2 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.005436, allocations: 27.84 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.005586, allocations: 107.5 kB / 328.4 MB, free: 4.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.00559, allocations: 3.938 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.005592, allocations: 3.984 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.005596, allocations: 4 kB / 328.4 MB, free: 4.531 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003079/0.005904, allocations: 329.5 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.005933, allocations: 8.031 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.005958, allocations: 12.94 kB / 328.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.006083, allocations: 157.5 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.006091, allocations: 0.875 kB / 328.9 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.00611, allocations: 8.359 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.006204, allocations: 76.94 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.006212, allocations: 192 / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.006219, allocations: 4.125 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006224, allocations: 0 / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.006252, allocations: 19.92 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.006484, allocations: 203 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.474e-05/0.006538, allocations: 38.56 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.006563, allocations: 28.72 kB / 329.2 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.006581, allocations: 4 kB / 329.2 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.006599, allocations: 30.72 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.0066, allocations: 0 / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004716/0.007071, allocations: 197.9 kB / 329.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.007096, allocations: 55.41 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.007212, allocations: 197 kB / 329.7 MB, free: 3.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.007223, allocations: 29.7 kB / 329.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.007257, allocations: 108 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.007286, allocations: 39.64 kB / 329.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.007322, allocations: 29.7 kB / 329.9 MB, free: 2.844 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.007397, allocations: 330.7 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.007416, allocations: 11.98 kB / 330.3 MB, free: 2.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.007433, allocations: 10.25 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.007483, allocations: 47.66 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007484, allocations: 0 / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.898e-05/0.007573, allocations: 69.66 kB / 330.4 MB, free: 2.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.007585, allocations: 8 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007589, allocations: 4.234 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.007598, allocations: 3.938 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.00767, allocations: 23.98 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.007673, allocations: 3.984 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.007694, allocations: 8 kB / 330.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.0077, allocations: 0 / 330.4 MB, free: 2.316 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 (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 5.994e-05/0.00776, allocations: 124.6 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.007781, allocations: 11.98 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.007916, allocations: 100.2 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007917, allocations: 4 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.00792, allocations: 4 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.007923, allocations: 0 / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.008189, allocations: 296.5 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008191, allocations: 0 / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.00824, allocations: 27.92 kB / 331 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.008245, allocations: 7.984 kB / 331 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.008252, allocations: 4 kB / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008254, allocations: 0 / 331 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.008256, allocations: 3.938 kB / 331 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.008356, allocations: 181 kB / 331.2 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.008365, allocations: 15.91 kB / 331.2 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.008377, allocations: 4 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.008412, allocations: 4 kB / 331.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.008439, allocations: 11.92 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008449, allocations: 7.984 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.008494, allocations: 65.55 kB / 331.3 MB, free: 1.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008494, allocations: 3.938 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.008643, allocations: 24 kB / 331.3 MB, free: 1.367 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 (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 Backend phase and start with SimCode phase: time 0.001166/0.009809, allocations: 0.5757 MB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.009908, allocations: 56.7 kB / 331.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.009912, allocations: 0 / 331.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.009944, allocations: 36.78 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.01012, allocations: 23.92 kB / 332 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.01047, allocations: 274.4 kB / 332.3 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.01052, allocations: 75.33 kB / 332.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.511e-05/0.01056, allocations: 16.48 kB / 332.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.01062, allocations: 63.36 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01062, allocations: 4.062 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.01397, allocations: 1.751 MB / 334.2 MB, free: 14.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.0064567388035357]