Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.00137/0.00137, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001412/0.001412, allocations: 168.6 kB / 24.91 MB, free: 8.734 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.9517/0.9517, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2512/0.2512, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 4 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.293e-05, allocations: 3.188 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003252/0.003275, allocations: 1.752 MB / 325 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.004425, allocations: 0.5762 MB / 325.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.201e-05/0.004487, allocations: 0 / 325.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.005142, allocations: 463 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.005635, allocations: 291.1 kB / 326.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.006092, allocations: 171.6 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.00638, allocations: 183.6 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.006525, allocations: 20.83 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.006705, allocations: 119.8 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.007016, allocations: 199.6 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.007038, allocations: 4 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.007151, allocations: 47.92 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.007258, allocations: 91.66 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.007315, allocations: 43.73 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.007613, allocations: 211.1 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007615, allocations: 0 / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007617, allocations: 0 / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.007622, allocations: 0 / 327.4 MB, free: 5.477 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.0006282/0.00825, allocations: 0.5616 MB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.008302, allocations: 8.031 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.008354, allocations: 24.91 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.008593, allocations: 254 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.008602, allocations: 4.375 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.008622, allocations: 4.375 kB / 328.3 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.008742, allocations: 58.94 kB / 328.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.008756, allocations: 4.188 kB / 328.3 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.008768, allocations: 4.125 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.008775, allocations: 0 / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.254e-05/0.008818, allocations: 11.94 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.009189, allocations: 211 kB / 328.6 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.009271, allocations: 33.48 kB / 328.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.009293, allocations: 12.8 kB / 328.6 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.009316, allocations: 12.02 kB / 328.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.009345, allocations: 30.56 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.009346, allocations: 0 / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007119/0.01006, allocations: 161.4 kB / 328.8 MB, free: 3.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.0101, allocations: 51.41 kB / 328.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.01059, allocations: 0.5283 MB / 329.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.0106, allocations: 29.7 kB / 329.4 MB, free: 3.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.01069, allocations: 145.3 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.01072, allocations: 27.78 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.01076, allocations: 21.7 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01089, allocations: 362.6 kB / 330 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.01091, allocations: 7.938 kB / 330 MB, free: 2.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.01093, allocations: 11.98 kB / 330 MB, free: 2.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/0.01098, allocations: 31.59 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01099, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.0111, allocations: 69.66 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.01112, allocations: 4 kB / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01113, allocations: 0 / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01114, allocations: 0 / 330.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.01123, allocations: 23.98 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.01124, allocations: 4 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.01128, allocations: 7.891 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.01129, allocations: 0 / 330.1 MB, free: 2.617 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 9.257e-05/0.01138, allocations: 120.6 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.01143, allocations: 23.97 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.0116, allocations: 105.8 kB / 330.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.0116, allocations: 4 kB / 330.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.0116, allocations: 4 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01161, allocations: 0 / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.01198, allocations: 311.3 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01198, allocations: 0 / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.01205, allocations: 19.92 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01205, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.01206, allocations: 0 / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01206, allocations: 4 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01206, allocations: 0 / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.0122, allocations: 176.3 kB / 330.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.01223, allocations: 39.73 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.01226, allocations: 4 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.01233, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.01237, allocations: 15.92 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.01238, allocations: 0 / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.01265, allocations: 291.2 kB / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01266, allocations: 0 / 331.2 MB, free: 1.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.0129, allocations: 24 kB / 331.2 MB, free: 1.434 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.001748/0.01465, allocations: 0.5809 MB / 331.8 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01475, allocations: 36.78 kB / 331.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.01476, allocations: 8 kB / 331.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.01479, allocations: 28.83 kB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01507, allocations: 32.98 kB / 331.9 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.01601, allocations: 0.6034 MB / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.01612, allocations: 123.2 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01618, allocations: 20.7 kB / 332.7 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.513e-05/0.01626, allocations: 55.38 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01626, allocations: 0 / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of Templates: time 0.005382/0.02164, allocations: 1.752 MB / 334.5 MB, free: 14.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.8187241456471384]