Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.001175/0.001175, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.002995, 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.001089/0.001089, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002496, 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.9309/0.9309, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1468/1.078, allocations: 49.51 MB / 220.7 MB, free: 1.352 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.1332/0.1332, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0204/0.1536, allocations: 12.3 MB / 266.1 MB, free: 3.887 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.146e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002029/0.002051, allocations: 1.643 MB / 269 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004523/0.002503, allocations: 323.4 kB / 269.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.002554, allocations: 3.938 kB / 269.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.002691, allocations: 27.78 kB / 269.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.002798, allocations: 39.73 kB / 269.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.00298, allocations: 71.77 kB / 269.5 MB, free: 436 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.003098, allocations: 59.78 kB / 269.6 MB, free: 376 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.003171, allocations: 8 kB / 269.6 MB, free: 368 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.003246, allocations: 39.91 kB / 269.6 MB, free: 328 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.003304, allocations: 19.91 kB / 269.6 MB, free: 308 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003318, allocations: 0 / 269.6 MB, free: 308 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.003383, allocations: 35.88 kB / 269.7 MB, free: 272 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.00342, allocations: 15.92 kB / 269.7 MB, free: 256 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.003439, allocations: 7.938 kB / 269.7 MB, free: 248 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003561, allocations: 59.77 kB / 269.7 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.003572, allocations: 4 kB / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.003573, allocations: 0 / 269.7 MB, free: 184 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.003583, allocations: 0 / 269.7 MB, free: 184 kB / 266.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.000351/0.003934, allocations: 288.2 kB / 270 MB, free: 15.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.003966, allocations: 12.03 kB / 270 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.003993, allocations: 0.9375 kB / 270 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.004113, allocations: 129.7 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.004121, allocations: 4.375 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.004139, allocations: 4.375 kB / 270.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.004241, allocations: 50.95 kB / 270.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004251, allocations: 4.188 kB / 270.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.00426, allocations: 8.125 kB / 270.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.004267, allocations: 0 / 270.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.004287, allocations: 7.984 kB / 270.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.004498, allocations: 155.1 kB / 270.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.004621, allocations: 38.48 kB / 270.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.004633, allocations: 8.859 kB / 270.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.004647, allocations: 0 / 270.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.004665, allocations: 30.56 kB / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.004666, allocations: 0 / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002459/0.004912, allocations: 101.8 kB / 270.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.004936, allocations: 51.41 kB / 270.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.005017, allocations: 140.2 kB / 270.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.005026, allocations: 25.7 kB / 270.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.005054, allocations: 96.08 kB / 270.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.005072, allocations: 19.83 kB / 270.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.005096, allocations: 13.72 kB / 270.9 MB, free: 14.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.005164, allocations: 314.8 kB / 271.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.005176, allocations: 11.98 kB / 271.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.005186, allocations: 4 kB / 271.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.005213, allocations: 24.78 kB / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.005214, allocations: 0 / 271.3 MB, free: 14.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.873e-05/0.005273, allocations: 49.62 kB / 271.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.005287, allocations: 4 kB / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.005292, allocations: 0 / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.005306, allocations: 0 / 271.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.005352, allocations: 12 kB / 271.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.005355, allocations: 3.984 kB / 271.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.005371, allocations: 3.984 kB / 271.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.005377, allocations: 8 kB / 271.3 MB, free: 14.43 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 5.913e-05/0.005436, allocations: 116.6 kB / 271.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.005452, allocations: 7.938 kB / 271.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.005554, allocations: 58.14 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.005556, allocations: 0 / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.005558, allocations: 0 / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.005561, allocations: 4 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.005742, allocations: 215.1 kB / 271.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.005745, allocations: 3.938 kB / 271.7 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.005774, allocations: 8 kB / 271.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-06/0.005782, allocations: 7.953 kB / 271.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005784, allocations: 0 / 271.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.005788, allocations: 4 kB / 271.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.00579, allocations: 3.984 kB / 271.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005791, allocations: 0 / 271.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.91e-05/0.00586, allocations: 147.4 kB / 271.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005871, allocations: 0 / 271.9 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.005898, allocations: 4 kB / 271.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.005929, allocations: 7.922 kB / 271.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.005932, allocations: 4 kB / 271.9 MB, free: 13.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.888e-05/0.005961, allocations: 32.22 kB / 271.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005961, allocations: 0 / 271.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.006084, allocations: 12 kB / 272 MB, free: 13.75 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.00106/0.007144, allocations: 0.551 MB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.625e-05/0.00722, allocations: 20.84 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.007227, allocations: 0 / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.007252, allocations: 20.86 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.00745, allocations: 83.27 kB / 272.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.007938, allocations: 169.9 kB / 272.8 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.007981, allocations: 59.34 kB / 272.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.595e-05/0.008017, allocations: 16.31 kB / 272.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.008073, allocations: 55.38 kB / 272.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.008074, allocations: 0 / 272.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of Templates: time 0.002865/0.01094, allocations: 1.224 MB / 274.2 MB, free: 11.47 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.6401962088420987]