Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001313/0.001313, 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.001388/0.001388, allocations: 159.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.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.047 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.2915/0.2915, allocations: 34.85 MB / 296.6 MB, free: 480 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.79e-05, allocations: 4.984 kB / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002938/0.002965, allocations: 1.761 MB / 327.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009083/0.003874, allocations: 0.5834 MB / 328.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.003944, allocations: 0 / 328.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.00443, allocations: 459.1 kB / 328.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.004844, allocations: 291.1 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.005229, allocations: 171.5 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.005498, allocations: 192.3 kB / 329.4 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.005601, allocations: 24.19 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.005746, allocations: 127.8 kB / 329.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.005922, allocations: 199.6 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.005938, allocations: 4 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.006041, allocations: 51.92 kB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.006133, allocations: 87.66 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.006186, allocations: 43.72 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.006471, allocations: 223 kB / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.006474, allocations: 0 / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006475, allocations: 0 / 330.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.00648, allocations: 0 / 330.2 MB, free: 2.895 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004925/0.006973, allocations: 0.554 MB / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.007008, allocations: 12.03 kB / 330.7 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.007055, allocations: 28.91 kB / 330.8 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.007244, allocations: 246 kB / 331 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.007253, allocations: 4.375 kB / 331 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.007272, allocations: 4.375 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.007376, allocations: 66.88 kB / 331.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007385, allocations: 4.188 kB / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.007392, allocations: 384 / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.007397, allocations: 384 / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.007425, allocations: 15.92 kB / 331.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.007732, allocations: 211 kB / 331.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.007882, allocations: 46.55 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.007901, allocations: 8.859 kB / 331.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.00792, allocations: 3.984 kB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.007947, allocations: 34.56 kB / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.007949, allocations: 0 / 331.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000576/0.008525, allocations: 234.5 kB / 331.6 MB, free: 1.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.008562, allocations: 55.41 kB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.00889, allocations: 0.5399 MB / 332.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.008906, allocations: 25.7 kB / 332.2 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.008969, allocations: 141.3 kB / 332.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.009004, allocations: 35.69 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.009043, allocations: 21.7 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.009195, allocations: 362.7 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.009218, allocations: 8 kB / 332.8 MB, free: 100 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.058e-05/0.009239, allocations: 9.203 kB / 332.8 MB, free: 92 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.948e-05/0.009298, allocations: 51.64 kB / 332.9 MB, free: 36 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.0093, allocations: 8 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001115/0.009411, allocations: 88.98 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.009429, allocations: 9.25 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.00944, allocations: 0 / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.009456, allocations: 3.984 kB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.009552, allocations: 23.98 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009557, allocations: 0 / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.009591, allocations: 4 kB / 333 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.0096, allocations: 0 / 333 MB, free: 15.9 MB / 314.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 (11): * Single equations (assignments): 11 * 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 0.000107/0.009707, allocations: 120.6 kB / 333.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.009745, allocations: 31.91 kB / 333.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.009932, allocations: 121.4 kB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009935, allocations: 0 / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.009938, allocations: 0 / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.009942, allocations: 0 / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.01025, allocations: 338.8 kB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01025, allocations: 0 / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.01031, allocations: 23.98 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01031, allocations: 3.984 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01032, allocations: 12.06 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01032, allocations: 0 / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.01032, allocations: 7.922 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.01046, allocations: 189.2 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.01049, allocations: 43.7 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.0105, allocations: 4 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.01055, allocations: 8 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.01058, allocations: 3.984 kB / 333.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01059, allocations: 11.98 kB / 333.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.01077, allocations: 283.2 kB / 334.2 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01077, allocations: 7.938 kB / 334.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.01094, allocations: 43.77 kB / 334.2 MB, free: 14.6 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001324/0.01227, allocations: 0.554 MB / 334.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.0124, allocations: 56.7 kB / 334.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.01241, allocations: 8 kB / 334.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.01244, allocations: 28.78 kB / 334.9 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.01267, allocations: 37.91 kB / 334.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.01338, allocations: 0.6187 MB / 335.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.884e-05/0.01346, allocations: 131.2 kB / 335.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.01351, allocations: 16.48 kB / 335.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.01358, allocations: 71.3 kB / 335.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01358, allocations: 0 / 335.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004457/0.01804, allocations: 1.92 MB / 337.7 MB, free: 11.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.8557385192252696]