Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.0009591/0.0009591, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002302, allocations: 447.8 kB / 10.35 MB, free: 348 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.0009354/0.0009354, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002253, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9641/0.9641, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1964/1.16, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1288/0.1288, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02448/0.1533, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.955e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002089/0.002109, allocations: 1.677 MB / 268.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.00258, allocations: 371.1 kB / 269.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.002628, allocations: 0 / 269.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.003012, allocations: 491 kB / 269.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.003242, allocations: 275.3 kB / 270 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.00354, allocations: 155.6 kB / 270.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.003734, allocations: 159.6 kB / 270.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.003815, allocations: 20.17 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.003955, allocations: 151.8 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.004099, allocations: 191.7 kB / 270.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.004117, allocations: 4 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.004191, allocations: 31.92 kB / 270.7 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.004264, allocations: 87.66 kB / 270.8 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.004308, allocations: 31.75 kB / 270.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.004513, allocations: 191.2 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.004527, allocations: 0 / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004528, allocations: 0 / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.00454, allocations: 0 / 271 MB, free: 2.707 MB / 266.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.000498/0.005038, allocations: 0.5876 MB / 271.6 MB, free: 2.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.00507, allocations: 8.031 kB / 271.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.005112, allocations: 28.91 kB / 271.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.005289, allocations: 242 kB / 271.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.005297, allocations: 8.312 kB / 271.9 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.005314, allocations: 4.375 kB / 271.9 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.005409, allocations: 50.95 kB / 271.9 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.005419, allocations: 192 / 271.9 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.00543, allocations: 7.938 kB / 271.9 MB, free: 1.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005436, allocations: 4 kB / 271.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.00575, allocations: 11.97 kB / 272 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.005999, allocations: 203 kB / 272.2 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.006126, allocations: 37.45 kB / 272.2 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.00614, allocations: 8.859 kB / 272.2 MB, free: 1.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.006157, allocations: 8.016 kB / 272.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.006176, allocations: 30.56 kB / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.006176, allocations: 0 / 272.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002776/0.006454, allocations: 93.53 kB / 272.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.006482, allocations: 59.41 kB / 272.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.006766, allocations: 0.5204 MB / 272.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.006777, allocations: 29.7 kB / 272.9 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.00683, allocations: 145.3 kB / 273.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.006848, allocations: 11.86 kB / 273.1 MB, free: 500 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.006874, allocations: 17.7 kB / 273.1 MB, free: 476 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.006959, allocations: 358.7 kB / 273.5 MB, free: 108 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.006972, allocations: 4 kB / 273.5 MB, free: 104 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.006984, allocations: 12 kB / 273.5 MB, free: 92 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.054e-05/0.007015, allocations: 23.67 kB / 273.5 MB, free: 64 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.007016, allocations: 0 / 273.5 MB, free: 64 kB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.379e-05/0.0071, allocations: 61.66 kB / 273.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.007113, allocations: 8 kB / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007118, allocations: 0 / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.007126, allocations: 4 kB / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.007181, allocations: 11.94 kB / 273.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.007187, allocations: 3.938 kB / 273.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.00721, allocations: 4 kB / 273.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.007215, allocations: 4 kB / 273.6 MB, free: 15.96 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 (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 6.807e-05/0.007283, allocations: 112.7 kB / 273.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.007308, allocations: 27.91 kB / 273.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.007421, allocations: 81.23 kB / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.007424, allocations: 7.938 kB / 273.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007426, allocations: 0 / 273.8 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.007433, allocations: 7.984 kB / 273.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.007663, allocations: 274.8 kB / 274.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.007665, allocations: 64 / 274.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.007703, allocations: 15.98 kB / 274.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.104e-05/0.007724, allocations: 35.72 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.007726, allocations: 0 / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.007731, allocations: 0 / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007732, allocations: 0 / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007733, allocations: 4 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.007824, allocations: 167.4 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.007837, allocations: 0 / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.007871, allocations: 4 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.007897, allocations: 3.984 kB / 274.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.007901, allocations: 4 kB / 274.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.008063, allocations: 275.2 kB / 274.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.008064, allocations: 4 kB / 274.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.008202, allocations: 20 kB / 274.6 MB, free: 14.88 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 (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.001108/0.00931, allocations: 0.5507 MB / 275.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.062e-05/0.00939, allocations: 24.86 kB / 275.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.009401, allocations: 4 kB / 275.2 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.97e-05/0.009421, allocations: 20.78 kB / 275.2 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.009629, allocations: 41.89 kB / 275.3 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007194/0.01035, allocations: 0.5665 MB / 275.8 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.609e-05/0.01042, allocations: 119.3 kB / 275.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.117e-05/0.01046, allocations: 15.97 kB / 276 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.01051, allocations: 59.38 kB / 276 MB, free: 13.41 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01051, allocations: 0 / 276 MB, free: 13.41 MB / 282.7 MB Notification: Performance of Templates: time 0.003784/0.01429, allocations: 1.463 MB / 277.5 MB, free: 11.95 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.984911449253559]