Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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.0008994/0.0008994, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0008991/0.0008991, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.9326/0.9326, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 32.8 MB / 294.3 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 4 kB / 376.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.067e-05, allocations: 9.547 kB / 376.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2753/0.2754, allocations: 131.9 MB / 0.4961 GB, free: 28.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00438/0.2797, allocations: 4.855 MB / 0.5008 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.2799, allocations: 1.25 kB / 0.5008 GB, free: 25.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.2803, allocations: 64.22 kB / 0.5009 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.2822, allocations: 0.7894 MB / 0.5016 GB, free: 25.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2825, allocations: 169.5 kB / 0.5018 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.2831, allocations: 402.1 kB / 0.5022 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.2832, allocations: 7.844 kB / 0.5022 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.2835, allocations: 211.3 kB / 0.5024 GB, free: 24.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2838, allocations: 176.8 kB / 0.5026 GB, free: 24.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.2839, allocations: 7.906 kB / 0.5026 GB, free: 24.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.2851, allocations: 0.6231 MB / 0.5032 GB, free: 24.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.2852, allocations: 49.27 kB / 0.5032 GB, free: 24.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2854, allocations: 85.52 kB / 0.5033 GB, free: 24.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2864, allocations: 477.7 kB / 0.5038 GB, free: 24.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2864, allocations: 0 / 0.5038 GB, free: 24.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2864, allocations: 0 / 0.5038 GB, free: 24.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.2864, allocations: 0 / 0.5038 GB, free: 24.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001009/0.2874, allocations: 0.6374 MB / 0.5044 GB, free: 23.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2874, allocations: 10.72 kB / 0.5044 GB, free: 23.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.2876, allocations: 55.84 kB / 0.5044 GB, free: 23.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2879, allocations: 167.3 kB / 0.5046 GB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.288, allocations: 232.3 kB / 0.5048 GB, free: 23.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.288, allocations: 28.86 kB / 0.5049 GB, free: 23.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.2884, allocations: 459.5 kB / 0.5053 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2884, allocations: 384 / 0.5053 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.2885, allocations: 16.06 kB / 0.5053 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.2885, allocations: 6.203 kB / 0.5053 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/0.2891, allocations: 0.5248 MB / 0.5058 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2901, allocations: 1.228 MB / 0.507 GB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/0.2905, allocations: 149.9 kB / 0.5072 GB, free: 21.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.2906, allocations: 65 kB / 0.5072 GB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.2916, allocations: 0.7837 MB / 0.508 GB, free: 21.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.2916, allocations: 36.8 kB / 0.508 GB, free: 21.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.2916, allocations: 0 / 0.508 GB, free: 21.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005132/0.2922, allocations: 201.2 kB / 0.5082 GB, free: 21.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.2922, allocations: 59.25 kB / 0.5083 GB, free: 21.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2923, allocations: 294 kB / 0.5086 GB, free: 20.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2923, allocations: 29.7 kB / 0.5086 GB, free: 20.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.2924, allocations: 264.5 kB / 0.5088 GB, free: 20.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.2924, allocations: 60.55 kB / 0.5089 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.2925, allocations: 95.03 kB / 0.509 GB, free: 20.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.2926, allocations: 0.5025 MB / 0.5095 GB, free: 19.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.717e-05/0.2926, allocations: 38.86 kB / 0.5095 GB, free: 19.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2928, allocations: 430.8 kB / 0.5099 GB, free: 19.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.2931, allocations: 0.5121 MB / 0.5104 GB, free: 18.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2931, allocations: 6.281 kB / 0.5104 GB, free: 18.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004469/0.2936, allocations: 366.8 kB / 0.5108 GB, free: 18.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2936, allocations: 11 kB / 0.5108 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2936, allocations: 10.95 kB / 0.5108 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2936, allocations: 15.41 kB / 0.5108 GB, free: 18.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2939, allocations: 111.1 kB / 0.5109 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.2939, allocations: 17.94 kB / 0.5109 GB, free: 18.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.2941, allocations: 16.09 kB / 0.511 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.2941, allocations: 28.89 kB / 0.511 GB, free: 18.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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 7.651e-05/0.2942, allocations: 192 kB / 0.5112 GB, free: 18.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.2942, allocations: 27.38 kB / 0.5112 GB, free: 18.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.2944, allocations: 147.6 kB / 0.5113 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.2945, allocations: 3.656 kB / 0.5113 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2945, allocations: 0 / 0.5113 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2945, allocations: 0.5156 kB / 0.5113 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.2948, allocations: 432.8 kB / 0.5118 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2948, allocations: 3.766 kB / 0.5118 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.2949, allocations: 31.58 kB / 0.5118 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2949, allocations: 0 / 0.5118 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2949, allocations: 3.484 kB / 0.5118 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.2949, allocations: 0 / 0.5118 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2949, allocations: 6.625 kB / 0.5118 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.2951, allocations: 273.9 kB / 0.5121 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.2951, allocations: 28.28 kB / 0.5121 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.2952, allocations: 7.812 kB / 0.5121 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.2953, allocations: 9.047 kB / 0.5121 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/0.2953, allocations: 14.14 kB / 0.5121 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.2953, allocations: 15.69 kB / 0.5121 GB, free: 17.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.391e-05/0.2954, allocations: 186.2 kB / 0.5123 GB, free: 17.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2954, allocations: 0 / 0.5123 GB, free: 17.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004597/0.2959, allocations: 102.9 kB / 0.5124 GB, free: 17.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0002314/0.2961, allocations: 155.4 kB / 0.5126 GB, free: 17.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2964, allocations: 172.3 kB / 0.5127 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2964, allocations: 0 / 0.5127 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.929e-05/0.2964, allocations: 40.64 kB / 0.5128 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.2968, allocations: 56.55 kB / 0.5128 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2978, allocations: 0.4981 MB / 0.5133 GB, free: 17.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.2979, allocations: 79.55 kB / 0.5134 GB, free: 16.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.2981, allocations: 62.03 kB / 0.5134 GB, free: 16.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.2981, allocations: 26.53 kB / 0.5135 GB, free: 16.91 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2981, allocations: 0 / 0.5135 GB, free: 16.91 MB / 410.7 MB Notification: Performance of Templates: time 0.005751/0.3039, allocations: 3.542 MB / 0.5169 GB, free: 16.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.51816070266068]