Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.0009178/0.0009178, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009887/0.0009887, allocations: 168.2 kB / 24.91 MB, free: 9.152 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.9833/0.9833, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2405/0.2405, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.CombiTable1Dv.Test31,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 323.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.648e-05, allocations: 3.406 kB / 323.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002102/0.002118, allocations: 1.692 MB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.002856, allocations: 0.5569 MB / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.093e-05/0.002907, allocations: 0 / 325.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.003175, allocations: 119.6 kB / 325.7 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.003403, allocations: 131.4 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003628, allocations: 115.6 kB / 325.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.003768, allocations: 99.8 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.609e-05/0.003844, allocations: 15.91 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.003915, allocations: 63.81 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.004007, allocations: 67.84 kB / 326.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.00402, allocations: 4 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.004091, allocations: 47.91 kB / 326.2 MB, free: 6.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.004134, allocations: 27.92 kB / 326.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.00416, allocations: 23.88 kB / 326.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004295, allocations: 99.64 kB / 326.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.004296, allocations: 0 / 326.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004297, allocations: 0 / 326.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.0043, allocations: 0 / 326.3 MB, free: 6.535 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.0002955/0.004595, allocations: 345.1 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.004623, allocations: 8.031 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.004646, allocations: 8.938 kB / 326.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004777, allocations: 149.6 kB / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.004783, allocations: 384 / 326.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.0048, allocations: 4.375 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.004879, allocations: 62.94 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.004887, allocations: 192 / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.004895, allocations: 8.109 kB / 326.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004899, allocations: 0 / 326.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.004922, allocations: 15.92 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.005121, allocations: 179.6 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.005166, allocations: 29.41 kB / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.005182, allocations: 16.94 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.005195, allocations: 0 / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.005215, allocations: 38.44 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005216, allocations: 8 kB / 327.2 MB, free: 5.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000381/0.005597, allocations: 137.6 kB / 327.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.005622, allocations: 55.41 kB / 327.4 MB, free: 5.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.005747, allocations: 209.2 kB / 327.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.005758, allocations: 33.69 kB / 327.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.005791, allocations: 96.05 kB / 327.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.005814, allocations: 27.8 kB / 327.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.005843, allocations: 25.7 kB / 327.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.00592, allocations: 334.7 kB / 328.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.005933, allocations: 4 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.005944, allocations: 4 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.831e-05/0.005982, allocations: 39.58 kB / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.005983, allocations: 0 / 328.1 MB, free: 4.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.085e-05/0.006044, allocations: 57.62 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.006055, allocations: 4 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.006058, allocations: 0 / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.006067, allocations: 0 / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.006122, allocations: 19.98 kB / 328.2 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006125, allocations: 4 kB / 328.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.006143, allocations: 3.984 kB / 328.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.00615, allocations: 8 kB / 328.2 MB, free: 4.473 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.374e-05/0.006204, allocations: 112.6 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.006225, allocations: 11.94 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.995e-05/0.006325, allocations: 87.36 kB / 328.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.006328, allocations: 4 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006329, allocations: 0 / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006332, allocations: 0 / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.006552, allocations: 267.4 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006553, allocations: 0 / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.006588, allocations: 15.98 kB / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.00659, allocations: 0 / 328.7 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.006596, allocations: 7.938 kB / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006597, allocations: 0 / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.006602, allocations: 0 / 328.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.349e-05/0.006686, allocations: 160.3 kB / 328.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.006696, allocations: 16.33 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.006707, allocations: 0 / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.006741, allocations: 7.984 kB / 328.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.006765, allocations: 8.031 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.006771, allocations: 7.984 kB / 328.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.006821, allocations: 68.61 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006821, allocations: 0 / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001347/0.006955, allocations: 23.94 kB / 329 MB, free: 3.621 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.001144/0.0081, allocations: 0.5779 MB / 329.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.008179, allocations: 32.78 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.008182, allocations: 0 / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.008207, allocations: 32.91 kB / 329.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.008366, allocations: 27.98 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.008684, allocations: 253 kB / 329.9 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.008725, allocations: 75.33 kB / 330 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.301e-05/0.008758, allocations: 8.734 kB / 330 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.00881, allocations: 59.36 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008811, allocations: 4 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of Templates: time 0.002933/0.01174, allocations: 1.537 MB / 331.6 MB, free: 1.277 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.8517456450499594]