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.002632/0.002632, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002877/0.002877, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3567/0.3567, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.1.|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.1.|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 1.392e-06/1.392e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.193e-05, allocations: 9.484 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3176/0.3176, allocations: 131.6 MB / 0.495 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004737/0.3224, allocations: 4.833 MB / 0.4997 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.3225, allocations: 1.406 kB / 0.4997 GB, free: 25.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.3229, allocations: 56.94 kB / 0.4998 GB, free: 25.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.3249, allocations: 0.7705 MB / 0.5005 GB, free: 25.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.3253, allocations: 152.8 kB / 0.5007 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.3258, allocations: 393.1 kB / 0.5011 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.3259, allocations: 8.219 kB / 0.5011 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.3262, allocations: 207.2 kB / 0.5013 GB, free: 25.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.3265, allocations: 176.3 kB / 0.5014 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.3265, allocations: 9.031 kB / 0.5014 GB, free: 25.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3284, allocations: 0.6088 MB / 0.502 GB, free: 24.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3285, allocations: 56.92 kB / 0.5021 GB, free: 24.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3287, allocations: 90.14 kB / 0.5022 GB, free: 24.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3298, allocations: 495.5 kB / 0.5026 GB, free: 24.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3298, allocations: 0 / 0.5026 GB, free: 24.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3298, allocations: 0.9688 kB / 0.5026 GB, free: 24.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3298, allocations: 0 / 0.5026 GB, free: 24.68 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.001093/0.3309, allocations: 0.6334 MB / 0.5033 GB, free: 24.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3309, allocations: 9.938 kB / 0.5033 GB, free: 24.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.3311, allocations: 60.16 kB / 0.5033 GB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3314, allocations: 179.5 kB / 0.5035 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.3316, allocations: 223.6 kB / 0.5037 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3316, allocations: 26.34 kB / 0.5037 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.3322, allocations: 459.8 kB / 0.5042 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.3322, allocations: 6.188 kB / 0.5042 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3322, allocations: 15.62 kB / 0.5042 GB, free: 23.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.3323, allocations: 6.109 kB / 0.5042 GB, free: 23.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009123/0.3332, allocations: 0.5984 MB / 0.5048 GB, free: 23.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.3343, allocations: 1.236 MB / 0.506 GB, free: 22.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.3347, allocations: 169.1 kB / 0.5062 GB, free: 22.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.3349, allocations: 85 kB / 0.5062 GB, free: 22.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/0.3365, allocations: 0.7875 MB / 0.507 GB, free: 21.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3365, allocations: 40.8 kB / 0.507 GB, free: 21.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.3365, allocations: 0 / 0.507 GB, free: 21.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006768/0.3372, allocations: 216 kB / 0.5073 GB, free: 21.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.3372, allocations: 53.77 kB / 0.5073 GB, free: 21.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3374, allocations: 299.1 kB / 0.5076 GB, free: 21.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.3375, allocations: 37.06 kB / 0.5076 GB, free: 21.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3375, allocations: 265.5 kB / 0.5079 GB, free: 20.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3376, allocations: 59.17 kB / 0.5079 GB, free: 20.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.3377, allocations: 92.72 kB / 0.508 GB, free: 20.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.3378, allocations: 0.5035 MB / 0.5085 GB, free: 20.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.3378, allocations: 50.09 kB / 0.5086 GB, free: 20.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.3381, allocations: 443.9 kB / 0.509 GB, free: 19.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.3384, allocations: 0.5328 MB / 0.5095 GB, free: 19.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.3384, allocations: 2.094 kB / 0.5095 GB, free: 19.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004873/0.3389, allocations: 392 kB / 0.5099 GB, free: 18.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3389, allocations: 10.25 kB / 0.5099 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3389, allocations: 11.06 kB / 0.5099 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.339, allocations: 12.56 kB / 0.5099 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.3393, allocations: 109.4 kB / 0.51 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.3393, allocations: 21.27 kB / 0.51 GB, free: 18.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3395, allocations: 11.78 kB / 0.5101 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.3396, allocations: 28.98 kB / 0.5101 GB, free: 18.91 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 0.0001164/0.3397, allocations: 198.8 kB / 0.5103 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.735e-05/0.3397, allocations: 31.11 kB / 0.5103 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3401, allocations: 155.4 kB / 0.5104 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3401, allocations: 3.688 kB / 0.5104 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3401, allocations: 0.75 kB / 0.5104 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3401, allocations: 0.5156 kB / 0.5105 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.3406, allocations: 449.7 kB / 0.5109 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3406, allocations: 0 / 0.5109 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.3407, allocations: 31.55 kB / 0.5109 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3408, allocations: 10.25 kB / 0.5109 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3408, allocations: 0.6562 kB / 0.5109 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3408, allocations: 2.953 kB / 0.5109 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3408, allocations: 3.938 kB / 0.5109 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.341, allocations: 286 kB / 0.5112 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.3411, allocations: 21.5 kB / 0.5112 GB, free: 17.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.3411, allocations: 7.234 kB / 0.5112 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3413, allocations: 5.828 kB / 0.5112 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3413, allocations: 13.22 kB / 0.5112 GB, free: 17.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3414, allocations: 12.11 kB / 0.5113 GB, free: 17.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3415, allocations: 197.1 kB / 0.5114 GB, free: 17.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3415, allocations: 0 / 0.5114 GB, free: 17.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.342, allocations: 102.1 kB / 0.5115 GB, free: 17.8 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.0003364/0.3423, allocations: 158.4 kB / 0.5117 GB, free: 17.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.3427, allocations: 192.5 kB / 0.5119 GB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3427, allocations: 0 / 0.5119 GB, free: 17.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.3427, allocations: 47.19 kB / 0.5119 GB, free: 17.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.3432, allocations: 56.48 kB / 0.512 GB, free: 17.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.3439, allocations: 498.6 kB / 0.5125 GB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.024e-05/0.344, allocations: 118.5 kB / 0.5126 GB, free: 17.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.3442, allocations: 58.28 kB / 0.5126 GB, free: 17.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.3442, allocations: 31.53 kB / 0.5126 GB, free: 17.16 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3442, allocations: 0 / 0.5126 GB, free: 17.16 MB / 410.7 MB Notification: Performance of Templates: time 0.00703/0.3513, allocations: 3.187 MB / 0.5158 GB, free: 16.75 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",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: 5.528110948973335]