Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.0009578/0.0009578, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00119/0.00119, allocations: 169.3 kB / 24.25 MB, free: 312 kB / 18.57 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.8592/0.8592, allocations: 158.6 MB / 186 MB, free: 2.406 MB / 170.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.1287/0.1287, allocations: 32.37 MB / 270.7 MB, free: 14.83 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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.408e-05, allocations: 2.312 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2569/0.2569, allocations: 140.6 MB / 488.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.2623, allocations: 5.722 MB / 494 MB, free: 8.766 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005605/0.2629, allocations: 30.25 kB / 494.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007546/0.2636, allocations: 326.2 kB / 494.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.2651, allocations: 0.9097 MB / 495.3 MB, free: 8.078 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.2671, allocations: 1.065 MB / 496.4 MB, free: 7.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.2688, allocations: 1.837 MB / 498.2 MB, free: 6.645 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.2694, allocations: 426.4 kB / 498.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2707, allocations: 0.9853 MB / 499.6 MB, free: 5.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.2716, allocations: 0.6882 MB / 0.4886 GB, free: 5.551 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.2718, allocations: 62.81 kB / 0.4886 GB, free: 5.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.2726, allocations: 498.8 kB / 0.4891 GB, free: 5.383 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.2728, allocations: 286.7 kB / 0.4894 GB, free: 5.199 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.273, allocations: 285.9 kB / 0.4897 GB, free: 5.078 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.2741, allocations: 0.8814 MB / 0.4905 GB, free: 4.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2741, allocations: 0 / 0.4905 GB, free: 4.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2741, allocations: 3.938 kB / 0.4905 GB, free: 4.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.2741, allocations: 3.375 kB / 0.4905 GB, free: 4.609 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001351/0.2754, allocations: 1.104 MB / 0.4916 GB, free: 3.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2755, allocations: 8.469 kB / 0.4916 GB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.2758, allocations: 157.6 kB / 0.4918 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.2764, allocations: 493.5 kB / 0.4922 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2765, allocations: 152.7 kB / 0.4924 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.2765, allocations: 59.3 kB / 0.4924 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007272/0.2773, allocations: 1.003 MB / 0.4934 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2773, allocations: 7.438 kB / 0.4934 GB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.2773, allocations: 24.03 kB / 0.4934 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/0.2774, allocations: 37.58 kB / 0.4935 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.2778, allocations: 298.9 kB / 0.4938 GB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.2803, allocations: 3.543 MB / 0.4972 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.2808, allocations: 275 kB / 0.4975 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.2809, allocations: 100.4 kB / 0.4976 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.2811, allocations: 64.28 kB / 0.4976 GB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2811, allocations: 47.25 kB / 0.4977 GB, free: 14.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.2811, allocations: 0 / 0.4977 GB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.001776/0.2829, allocations: 0.9849 MB / 0.4986 GB, free: 14.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.283, allocations: 137.7 kB / 0.4988 GB, free: 13.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.2834, allocations: 0.5325 MB / 0.4993 GB, free: 13.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2834, allocations: 36.33 kB / 0.4993 GB, free: 13.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.2836, allocations: 417.2 kB / 0.4997 GB, free: 13.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2837, allocations: 171.9 kB / 0.4999 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.2839, allocations: 153.9 kB / 0.5 GB, free: 12.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004109/0.2843, allocations: 0.5401 MB / 0.5006 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.2844, allocations: 96.36 kB / 0.5007 GB, free: 12.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.2848, allocations: 0.594 MB / 0.5012 GB, free: 11.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.2853, allocations: 0.6401 MB / 0.5019 GB, free: 10.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2853, allocations: 2.656 kB / 0.5019 GB, free: 10.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008894/0.2862, allocations: 0.6631 MB / 0.5025 GB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2862, allocations: 12.12 kB / 0.5025 GB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.2863, allocations: 27.59 kB / 0.5026 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007268/0.287, allocations: 234.2 kB / 0.5028 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.2872, allocations: 123.8 kB / 0.5029 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006077/0.2878, allocations: 0.9637 MB / 0.5038 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.288, allocations: 36.02 kB / 0.5039 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.2881, allocations: 32 kB / 0.5039 GB, free: 8.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.2883, allocations: 204.3 kB / 0.5041 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.2883, allocations: 91.5 kB / 0.5042 GB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.2891, allocations: 0.5116 MB / 0.5047 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2891, allocations: 4 kB / 0.5047 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2891, allocations: 0 / 0.5047 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2891, allocations: 7.984 kB / 0.5047 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.2901, allocations: 0.9843 MB / 0.5057 GB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2901, allocations: 4.031 kB / 0.5057 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.2907, allocations: 191.8 kB / 0.5058 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.222e-05/0.2907, allocations: 27.67 kB / 0.5059 GB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.2908, allocations: 19.92 kB / 0.5059 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.2925, allocations: 3.561 MB / 0.5094 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2925, allocations: 256 / 0.5094 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.2932, allocations: 0.6625 MB / 0.51 GB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.2934, allocations: 115.5 kB / 0.5101 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.2934, allocations: 15.94 kB / 0.5101 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2936, allocations: 16 kB / 0.5102 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.2937, allocations: 39.86 kB / 0.5102 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.2937, allocations: 23.98 kB / 0.5102 GB, free: 2.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002541/0.294, allocations: 334.8 kB / 0.5105 GB, free: 1.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.294, allocations: 4.031 kB / 0.5105 GB, free: 1.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.2946, allocations: 223.8 kB / 0.5107 GB, free: 1.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005003/0.2951, allocations: 264.6 kB / 0.511 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006844/0.2958, allocations: 406.5 kB / 0.5114 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2958, allocations: 0 / 0.5114 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005395/0.2963, allocations: 415.6 kB / 0.5118 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.2972, allocations: 339.6 kB / 0.5121 GB, free: 220 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.299, allocations: 1.18 MB / 0.5133 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2991, allocations: 171.2 kB / 0.5134 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004731/0.2996, allocations: 172.1 kB / 0.5136 GB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2997, allocations: 64.48 kB / 0.5137 GB, free: 14.57 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2997, allocations: 3.938 kB / 0.5137 GB, free: 14.56 MB / 394.7 MB Notification: Performance of Templates: time 0.01739/0.3171, allocations: 14.29 MB / 0.5276 GB, free: 380 kB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.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: 3.6124019878916442]