Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001327/0.001327, 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.001625/0.001625, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.9755/0.9755, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2572/0.2572, allocations: 32.81 MB / 294.6 MB, free: 1.195 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.197e-05, allocations: 3.672 kB / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002352/0.002374, allocations: 1.673 MB / 325 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003578, allocations: 1.293 MB / 326.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.003632, allocations: 4 kB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.003849, allocations: 27.77 kB / 326.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.004109, allocations: 75.58 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.004357, allocations: 119.6 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.004488, allocations: 67.83 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.549e-05/0.004574, allocations: 11.92 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.421e-05/0.004638, allocations: 39.84 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.937e-05/0.004737, allocations: 19.97 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004751, allocations: 7.938 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.004912, allocations: 95.81 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.00495, allocations: 15.92 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.004972, allocations: 11.98 kB / 326.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.005151, allocations: 135.6 kB / 326.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005153, allocations: 0 / 326.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005154, allocations: 0 / 326.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.005157, allocations: 0 / 326.9 MB, free: 6.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003156/0.005473, allocations: 305.5 kB / 327.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.005501, allocations: 8.031 kB / 327.2 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.005528, allocations: 4.938 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.005647, allocations: 133.7 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.005654, allocations: 4.359 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.005677, allocations: 8.375 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005779, allocations: 94.36 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.005787, allocations: 8.125 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005795, allocations: 4.125 kB / 327.4 MB, free: 5.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.0058, allocations: 4 kB / 327.4 MB, free: 5.426 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.005819, allocations: 7.938 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.006014, allocations: 167.7 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.006118, allocations: 33.45 kB / 327.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.006134, allocations: 12.86 kB / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.006145, allocations: 0 / 327.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.006164, allocations: 38.5 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.006165, allocations: 4 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002284/0.006393, allocations: 81.56 kB / 327.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.006423, allocations: 81.11 kB / 327.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.006516, allocations: 154.6 kB / 328 MB, free: 4.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.006524, allocations: 25.7 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.006553, allocations: 88.09 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.006568, allocations: 11.89 kB / 328.1 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.006595, allocations: 21.7 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.28e-05/0.006668, allocations: 318.8 kB / 328.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.006678, allocations: 7.984 kB / 328.5 MB, free: 4.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.006704, allocations: 43.42 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.006733, allocations: 23.67 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006734, allocations: 0 / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.601e-05/0.00679, allocations: 53.56 kB / 328.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.006801, allocations: 8 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006805, allocations: 3.984 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.006815, allocations: 0 / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.78e-05/0.006853, allocations: 12.23 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.006855, allocations: 0 / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.006873, allocations: 8 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.006878, allocations: 0 / 328.6 MB, free: 4.121 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 (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 5.129e-05/0.006929, allocations: 124.6 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.006949, allocations: 11.92 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.007026, allocations: 58.08 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.007027, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.007028, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.00703, allocations: 3.938 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.007196, allocations: 214.8 kB / 329 MB, free: 3.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007197, allocations: 3.938 kB / 329 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.007221, allocations: 8 kB / 329 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.007223, allocations: 4 kB / 329 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.007228, allocations: 3.984 kB / 329 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007229, allocations: 3.938 kB / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007229, allocations: 0 / 329 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.58e-05/0.007295, allocations: 139.5 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.007305, allocations: 15.89 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.007315, allocations: 3.984 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.007346, allocations: 4.281 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.007364, allocations: 0 / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007368, allocations: 4 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.139e-05/0.007399, allocations: 41.52 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007399, allocations: 4 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.00756, allocations: 35.88 kB / 329.3 MB, free: 3.391 MB / 298.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.001188/0.008748, allocations: 0.6253 MB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.216e-05/0.00882, allocations: 28.78 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.008825, allocations: 4 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.00884, allocations: 12.86 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.008982, allocations: 19.92 kB / 330 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.009218, allocations: 182.4 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.009249, allocations: 59.34 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.271e-05/0.009282, allocations: 8 kB / 330.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.009339, allocations: 63.36 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.00934, allocations: 0 / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of Templates: time 0.0031/0.01244, allocations: 2.002 MB / 332.3 MB, free: 0.668 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.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.876891906373203]