Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0008998/0.0008998, 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.000998/0.000998, allocations: 169.9 kB / 24.91 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.9656/0.9656, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2503/0.2503, allocations: 34.26 MB / 296.1 MB, free: 0.6836 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.341e-05, allocations: 3.812 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002494/0.002517, allocations: 1.741 MB / 327.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.003295, allocations: 0.5723 MB / 327.6 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.003353, allocations: 4 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.003818, allocations: 455.1 kB / 328.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.004149, allocations: 291.1 kB / 328.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.004524, allocations: 171.5 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.004709, allocations: 179.6 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.004793, allocations: 11.97 kB / 328.7 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.004898, allocations: 123.7 kB / 328.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.00507, allocations: 195.6 kB / 329 MB, free: 3.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.005085, allocations: 4 kB / 329 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.801e-05/0.005153, allocations: 39.91 kB / 329.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.00523, allocations: 83.72 kB / 329.1 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.005265, allocations: 36.23 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.005463, allocations: 199.2 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005465, allocations: 4 kB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005466, allocations: 0 / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.00547, allocations: 0 / 329.4 MB, free: 3.543 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.000435/0.005905, allocations: 0.5462 MB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.005934, allocations: 12.03 kB / 329.9 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.005976, allocations: 28.91 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006149, allocations: 242 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.006157, allocations: 4.375 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006172, allocations: 4.375 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.00626, allocations: 58.94 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.006275, allocations: 4.172 kB / 330.3 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.006283, allocations: 8.125 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006287, allocations: 0 / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.006308, allocations: 7.938 kB / 330.3 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.00656, allocations: 199.1 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.006673, allocations: 33.45 kB / 330.5 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.006686, allocations: 8.859 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.006699, allocations: 3.938 kB / 330.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.006721, allocations: 38.5 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006722, allocations: 0 / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002633/0.006985, allocations: 109.5 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.007012, allocations: 51.41 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.007328, allocations: 0.5244 MB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.007338, allocations: 29.64 kB / 331.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.007403, allocations: 157.2 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.007424, allocations: 11.84 kB / 331.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.007452, allocations: 21.7 kB / 331.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.007544, allocations: 358.7 kB / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.007556, allocations: 0 / 331.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.007566, allocations: 4 kB / 331.8 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.007598, allocations: 23.67 kB / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007599, allocations: 0 / 331.8 MB, free: 0.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.937e-05/0.007669, allocations: 69.78 kB / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.007681, allocations: 8 kB / 331.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007685, allocations: 4 kB / 331.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.007699, allocations: 4 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.007742, allocations: 11.98 kB / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.007744, allocations: 0 / 331.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.007771, allocations: 8 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.007775, allocations: 0 / 331.9 MB, free: 0.8086 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 7.416e-05/0.00785, allocations: 108.7 kB / 332.1 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.007878, allocations: 27.91 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007992, allocations: 89.17 kB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007994, allocations: 288 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.007995, allocations: 8 kB / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.007998, allocations: 0 / 332.2 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.00823, allocations: 270.6 kB / 332.4 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.008234, allocations: 7.984 kB / 332.4 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.274e-05/0.008267, allocations: 15.92 kB / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008269, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.008273, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008274, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008275, allocations: 0 / 332.5 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.569e-05/0.008361, allocations: 163.5 kB / 332.6 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.008383, allocations: 39.72 kB / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.008397, allocations: 0 / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.008435, allocations: 0 / 332.7 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.008459, allocations: 7.984 kB / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.008462, allocations: 192 / 332.7 MB, free: 28 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.00865, allocations: 287.2 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.00865, allocations: 0 / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.008794, allocations: 23.95 kB / 333 MB, free: 15.72 MB / 314.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.001089/0.009884, allocations: 0.5129 MB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.92e-05/0.009953, allocations: 24.84 kB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.009959, allocations: 4 kB / 333.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.009977, allocations: 12.86 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.01018, allocations: 41.33 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005883/0.01077, allocations: 0.5815 MB / 334.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.01084, allocations: 123.2 kB / 334.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.01087, allocations: 4 kB / 334.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.01093, allocations: 71.36 kB / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01093, allocations: 0 / 334.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Templates: time 0.003741/0.01467, allocations: 1.455 MB / 335.8 MB, free: 13.11 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.8214926621876657]