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.001427/0.001427, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001909/0.001909, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.093/1.093, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.3247/0.3247, allocations: 32.81 MB / 294.6 MB, free: 1.156 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 1.974e-06/1.974e-06, allocations: 0 / 376.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.791e-05/3.989e-05, allocations: 5.406 kB / 376.5 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.345/0.345, allocations: 129.4 MB / 0.4941 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.3489, allocations: 4.82 MB / 0.4988 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.349, allocations: 1.031 kB / 0.4988 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.3493, allocations: 61.61 kB / 0.4989 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.3511, allocations: 0.7929 MB / 0.4996 GB, free: 26.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.3514, allocations: 161.5 kB / 0.4998 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.3519, allocations: 398.7 kB / 0.5002 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.352, allocations: 8.094 kB / 0.5002 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.3523, allocations: 215.9 kB / 0.5004 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.3525, allocations: 179.7 kB / 0.5005 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.3525, allocations: 8.719 kB / 0.5006 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3536, allocations: 0.6175 MB / 0.5012 GB, free: 26.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.3537, allocations: 49.92 kB / 0.5012 GB, free: 25.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.3537, allocations: 85.84 kB / 0.5013 GB, free: 25.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.3545, allocations: 486 kB / 0.5018 GB, free: 25.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3545, allocations: 0 / 0.5018 GB, free: 25.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3545, allocations: 0 / 0.5018 GB, free: 25.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3545, allocations: 0 / 0.5018 GB, free: 25.79 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.0009001/0.3554, allocations: 0.6337 MB / 0.5024 GB, free: 25.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3555, allocations: 9.5 kB / 0.5024 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.3556, allocations: 57.27 kB / 0.5024 GB, free: 25.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.3558, allocations: 167.3 kB / 0.5026 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.522e-05/0.3559, allocations: 227.6 kB / 0.5028 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.3559, allocations: 28.97 kB / 0.5028 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3563, allocations: 432.5 kB / 0.5032 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3563, allocations: 1.656 kB / 0.5033 GB, free: 24.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3563, allocations: 18.67 kB / 0.5033 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.3563, allocations: 7.75 kB / 0.5033 GB, free: 24.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.3569, allocations: 466.4 kB / 0.5037 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009768/0.3578, allocations: 1.198 MB / 0.5049 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3581, allocations: 139.4 kB / 0.505 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.3582, allocations: 62.48 kB / 0.5051 GB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009611/0.3592, allocations: 0.8032 MB / 0.5059 GB, free: 22.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3592, allocations: 36.5 kB / 0.5059 GB, free: 22.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3592, allocations: 1.219 kB / 0.5059 GB, free: 22.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004349/0.3596, allocations: 183.1 kB / 0.5061 GB, free: 22.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.3596, allocations: 53.11 kB / 0.5061 GB, free: 22.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3598, allocations: 291.7 kB / 0.5064 GB, free: 22.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3598, allocations: 27.86 kB / 0.5064 GB, free: 22.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.3599, allocations: 267.4 kB / 0.5067 GB, free: 22.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.3599, allocations: 60.38 kB / 0.5067 GB, free: 22.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.371e-05/0.36, allocations: 92 kB / 0.5068 GB, free: 21.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.3601, allocations: 0.5029 MB / 0.5073 GB, free: 21.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.3601, allocations: 30.66 kB / 0.5074 GB, free: 21.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3603, allocations: 426 kB / 0.5078 GB, free: 20.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.3606, allocations: 0.505 MB / 0.5083 GB, free: 20.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.3606, allocations: 6.969 kB / 0.5083 GB, free: 20.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003914/0.361, allocations: 364.2 kB / 0.5086 GB, free: 20.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.361, allocations: 8.938 kB / 0.5086 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.361, allocations: 9.531 kB / 0.5086 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.361, allocations: 12.59 kB / 0.5086 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3613, allocations: 109.7 kB / 0.5087 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.3613, allocations: 19.84 kB / 0.5088 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3614, allocations: 14.14 kB / 0.5088 GB, free: 20.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.3614, allocations: 23.95 kB / 0.5088 GB, free: 20.16 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.778e-05/0.3615, allocations: 192 kB / 0.509 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3616, allocations: 30.2 kB / 0.509 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.3618, allocations: 142.6 kB / 0.5091 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3618, allocations: 2.031 kB / 0.5091 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3618, allocations: 1.375 kB / 0.5091 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.3618, allocations: 4.734 kB / 0.5092 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.3621, allocations: 401.5 kB / 0.5095 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3621, allocations: 1.312 kB / 0.5095 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.3622, allocations: 35.06 kB / 0.5096 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3622, allocations: 1.469 kB / 0.5096 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3622, allocations: 7.422 kB / 0.5096 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3622, allocations: 0.9375 kB / 0.5096 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3622, allocations: 1 kB / 0.5096 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3623, allocations: 261 kB / 0.5098 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3624, allocations: 30.19 kB / 0.5099 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3624, allocations: 2.641 kB / 0.5099 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3625, allocations: 18.69 kB / 0.5099 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3625, allocations: 20.78 kB / 0.5099 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3625, allocations: 8.031 kB / 0.5099 GB, free: 19.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.3626, allocations: 177.8 kB / 0.5101 GB, free: 19.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3626, allocations: 0 / 0.5101 GB, free: 19.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.363, allocations: 102.2 kB / 0.5102 GB, free: 19.11 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.0002333/0.3632, allocations: 152.3 kB / 0.5103 GB, free: 19.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3634, allocations: 174.3 kB / 0.5105 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3634, allocations: 3.938 kB / 0.5105 GB, free: 18.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.3634, allocations: 35.17 kB / 0.5105 GB, free: 18.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.3637, allocations: 55.89 kB / 0.5106 GB, free: 18.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.3647, allocations: 0.4966 MB / 0.5111 GB, free: 18.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.3647, allocations: 74.38 kB / 0.5111 GB, free: 18.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.3649, allocations: 60.38 kB / 0.5112 GB, free: 18.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.365, allocations: 150.7 kB / 0.5113 GB, free: 18.42 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.365, allocations: 0 / 0.5113 GB, free: 18.42 MB / 410.7 MB Notification: Performance of Templates: time 0.005838/0.3709, allocations: 3.552 MB / 0.5148 GB, free: 17.94 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.8535283762030303]