Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001128/0.001128, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.002858, allocations: 452 kB / 10.43 MB, free: 264 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.001149/0.001149, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001789/0.002938, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.906/0.906, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1439/1.05, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1442/0.1442, allocations: 32.35 MB / 253.8 MB, free: 244 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02104/0.1653, allocations: 12.32 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 267.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.188e-05, allocations: 2.312 kB / 267.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002837/0.002859, allocations: 1.693 MB / 269.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.00433, allocations: 1.13 MB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.0044, allocations: 4 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.004545, allocations: 19.84 kB / 270.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.004689, allocations: 43.67 kB / 270.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.005045, allocations: 167.5 kB / 270.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.005221, allocations: 71.77 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.00532, allocations: 15.98 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.005432, allocations: 43.91 kB / 270.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.005535, allocations: 23.91 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.005555, allocations: 4 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.005689, allocations: 55.84 kB / 270.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.005742, allocations: 11.94 kB / 270.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.005788, allocations: 11.94 kB / 270.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005977, allocations: 91.66 kB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.005993, allocations: 4 kB / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005994, allocations: 0 / 270.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.006006, allocations: 0 / 270.8 MB, free: 15.15 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.000478/0.006484, allocations: 300.1 kB / 271.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.006521, allocations: 8.031 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.006565, allocations: 8.938 kB / 271.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.006754, allocations: 129.7 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.006767, allocations: 4.375 kB / 271.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.00679, allocations: 8.359 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.006928, allocations: 98.34 kB / 271.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.006937, allocations: 8.188 kB / 271.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.006946, allocations: 8.125 kB / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.006952, allocations: 0 / 271.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.006975, allocations: 8 kB / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.007197, allocations: 179 kB / 271.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.572e-05/0.007252, allocations: 30.56 kB / 271.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.007267, allocations: 8.859 kB / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.007287, allocations: 0 / 271.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.007312, allocations: 38.5 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.007313, allocations: 4 kB / 271.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003405/0.007654, allocations: 109.6 kB / 271.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.007677, allocations: 55.34 kB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.007752, allocations: 130.7 kB / 271.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.007761, allocations: 25.7 kB / 271.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.007844, allocations: 84.14 kB / 272 MB, free: 13.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.007867, allocations: 31.77 kB / 272 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.007893, allocations: 17.72 kB / 272 MB, free: 13.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.007966, allocations: 322.8 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.007977, allocations: 4 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.008033, allocations: 55.41 kB / 272.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.008082, allocations: 31.66 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008084, allocations: 0 / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.23e-05/0.008146, allocations: 53.56 kB / 272.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.008156, allocations: 8 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.008159, allocations: 3.938 kB / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.008171, allocations: 0 / 272.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.008243, allocations: 19.98 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.008245, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.008268, allocations: 8 kB / 272.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.008273, allocations: 4.031 kB / 272.5 MB, free: 13.2 MB / 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.049e-05/0.008323, allocations: 116.7 kB / 272.7 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.00834, allocations: 7.938 kB / 272.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.008426, allocations: 78.28 kB / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008428, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.008429, allocations: 0 / 272.7 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008433, allocations: 7.984 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.008613, allocations: 222.8 kB / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008614, allocations: 0 / 273 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.00865, allocations: 19.98 kB / 273 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.008658, allocations: 11.89 kB / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00866, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.008664, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008665, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008666, allocations: 0 / 273 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.595e-05/0.008752, allocations: 155.5 kB / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.008766, allocations: 0 / 273.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.008824, allocations: 4 kB / 273.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.008858, allocations: 8.266 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.008864, allocations: 4 kB / 273.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.0089, allocations: 33.33 kB / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0089, allocations: 0 / 273.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.009056, allocations: 27.92 kB / 273.2 MB, free: 12.46 MB / 282.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.001186/0.01024, allocations: 0.6129 MB / 273.8 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.94e-05/0.01033, allocations: 36.84 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.01034, allocations: 4 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.01037, allocations: 25.06 kB / 273.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01055, allocations: 87.31 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.01094, allocations: 192 kB / 274.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.988e-05/0.01098, allocations: 63.34 kB / 274.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.01103, allocations: 15.98 kB / 274.3 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.01109, allocations: 67.3 kB / 274.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01109, allocations: 3.938 kB / 274.3 MB, free: 11.27 MB / 282.7 MB Notification: Performance of Templates: time 0.00296/0.01405, allocations: 1.695 MB / 276 MB, free: 9.578 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.783510198816657]