Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.0008174/0.0008174, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002063, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0007363/0.0007363, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009795/0.001716, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9212/0.9212, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08467/1.006, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.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.2604/0.2604, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02263/0.283, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.253e-05/2.397e-05, allocations: 4.516 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003054/0.003077, allocations: 1.741 MB / 294.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.004943, allocations: 1.336 MB / 295.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.004993, allocations: 4 kB / 295.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.005121, allocations: 23.73 kB / 296 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.005352, allocations: 83.48 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.005628, allocations: 139.5 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.005767, allocations: 75.77 kB / 296.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.121e-05/0.005848, allocations: 11.98 kB / 296.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.005963, allocations: 63.77 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.006063, allocations: 19.92 kB / 296.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.006079, allocations: 4 kB / 296.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.006273, allocations: 103.8 kB / 296.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.006337, allocations: 19.94 kB / 296.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.006359, allocations: 8 kB / 296.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.006585, allocations: 127.5 kB / 296.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29e-05/0.006598, allocations: 4 kB / 296.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006599, allocations: 4 kB / 296.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.006611, allocations: 0 / 296.6 MB, free: 2.41 MB / 282.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.0004617/0.007073, allocations: 313.2 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.007106, allocations: 12.03 kB / 296.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.007149, allocations: 8.922 kB / 296.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.007305, allocations: 138.6 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.007314, allocations: 384 / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.007336, allocations: 4.375 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.007455, allocations: 102.3 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.007464, allocations: 4.125 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.007471, allocations: 4.125 kB / 297.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.007477, allocations: 4 kB / 297.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.355e-05/0.0075, allocations: 11.98 kB / 297.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.007695, allocations: 164.2 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.509e-05/0.00775, allocations: 38.58 kB / 297.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.007763, allocations: 8.859 kB / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.007779, allocations: 0 / 297.4 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.007801, allocations: 42.58 kB / 297.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.007802, allocations: 4 kB / 297.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002815/0.008084, allocations: 101.5 kB / 297.6 MB, free: 1.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.008107, allocations: 51.41 kB / 297.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.955e-05/0.008187, allocations: 140.2 kB / 297.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.008196, allocations: 25.7 kB / 297.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.008225, allocations: 92.12 kB / 297.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.008247, allocations: 31.73 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.008273, allocations: 17.7 kB / 297.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.008346, allocations: 326.8 kB / 298.2 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.008357, allocations: 4 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.008387, allocations: 51.47 kB / 298.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.008419, allocations: 32.77 kB / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.00842, allocations: 0 / 298.3 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.446e-05/0.008474, allocations: 57.61 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.008486, allocations: 4 kB / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.00849, allocations: 0 / 298.4 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.0085, allocations: 4.031 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.008573, allocations: 23.98 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.008576, allocations: 0 / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.008598, allocations: 4 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.008603, allocations: 0 / 298.4 MB, free: 452 kB / 282.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 (7): * Single equations (assignments): 7 * 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.132e-05/0.008654, allocations: 120.6 kB / 298.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.008671, allocations: 11.92 kB / 298.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.717e-05/0.008758, allocations: 62.45 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.008761, allocations: 4 kB / 298.6 MB, free: 232 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.008762, allocations: 4 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008764, allocations: 0 / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.008951, allocations: 230.6 kB / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.008951, allocations: 0 / 298.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.008993, allocations: 19.98 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.009002, allocations: 8.219 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.009004, allocations: 4 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.009009, allocations: 4 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009011, allocations: 3.984 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009012, allocations: 0 / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.717e-05/0.009089, allocations: 155.8 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.0091, allocations: 7.984 kB / 299 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.009137, allocations: 8 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.00916, allocations: 3.984 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.009164, allocations: 4 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.009191, allocations: 26.55 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009191, allocations: 4 kB / 299.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.009343, allocations: 43.86 kB / 299.1 MB, free: 15.67 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 (7): * Single equations (assignments): 7 * 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.00139/0.01073, allocations: 0.6956 MB / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.01081, allocations: 36.84 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.01082, allocations: 0 / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-05/0.01085, allocations: 32.98 kB / 299.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.01102, allocations: 89.5 kB / 300 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.0114, allocations: 196 kB / 300.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.01144, allocations: 63.34 kB / 300.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.01148, allocations: 11.98 kB / 300.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.01155, allocations: 75.34 kB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01155, allocations: 0 / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003225/0.01477, allocations: 2.143 MB / 302.4 MB, free: 12.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.816783444955945]