Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002043/0.002043, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002064/0.002064, allocations: 169.3 kB / 24.28 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.621/1.621, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.34/0.34, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.436e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3158/0.3158, allocations: 131.6 MB / 0.497 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.3206, allocations: 4.831 MB / 0.5017 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.3208, allocations: 1.219 kB / 0.5017 GB, free: 23.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.3212, allocations: 61.88 kB / 0.5018 GB, free: 23.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.3232, allocations: 0.7646 MB / 0.5025 GB, free: 23.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.3236, allocations: 153.3 kB / 0.5027 GB, free: 23.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.3242, allocations: 389.9 kB / 0.503 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.3243, allocations: 8.672 kB / 0.503 GB, free: 23.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.3246, allocations: 207.2 kB / 0.5032 GB, free: 23.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.325, allocations: 176.3 kB / 0.5034 GB, free: 23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.614e-05/0.3251, allocations: 7.969 kB / 0.5034 GB, free: 23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.3264, allocations: 0.6167 MB / 0.504 GB, free: 22.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.933e-05/0.3264, allocations: 50.53 kB / 0.5041 GB, free: 22.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3266, allocations: 85.16 kB / 0.5042 GB, free: 22.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.3276, allocations: 498.7 kB / 0.5046 GB, free: 22.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3276, allocations: 5.375 kB / 0.5046 GB, free: 22.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3276, allocations: 0 / 0.5046 GB, free: 22.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3276, allocations: 0.6094 kB / 0.5046 GB, free: 22.57 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.001052/0.3287, allocations: 0.6285 MB / 0.5052 GB, free: 22.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3287, allocations: 14.58 kB / 0.5053 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.3289, allocations: 57.19 kB / 0.5053 GB, free: 22.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.3291, allocations: 170.3 kB / 0.5055 GB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3292, allocations: 227.6 kB / 0.5057 GB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.3293, allocations: 26.19 kB / 0.5057 GB, free: 21.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.3297, allocations: 460.3 kB / 0.5062 GB, free: 21.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3298, allocations: 3.109 kB / 0.5062 GB, free: 21.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.3298, allocations: 13.94 kB / 0.5062 GB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3298, allocations: 7.516 kB / 0.5062 GB, free: 21.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.3306, allocations: 0.6006 MB / 0.5068 GB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3317, allocations: 1.235 MB / 0.508 GB, free: 20.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.3321, allocations: 159.5 kB / 0.5081 GB, free: 20.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.3322, allocations: 84.22 kB / 0.5082 GB, free: 19.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.3336, allocations: 0.7943 MB / 0.509 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3336, allocations: 39.58 kB / 0.509 GB, free: 19.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3336, allocations: 0 / 0.509 GB, free: 19.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005982/0.3342, allocations: 222.6 kB / 0.5092 GB, free: 19.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.3343, allocations: 54.97 kB / 0.5093 GB, free: 19.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3344, allocations: 299.8 kB / 0.5096 GB, free: 19.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3344, allocations: 34.34 kB / 0.5096 GB, free: 19.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.3345, allocations: 262.7 kB / 0.5099 GB, free: 18.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.3346, allocations: 61.3 kB / 0.5099 GB, free: 18.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.3347, allocations: 93.31 kB / 0.51 GB, free: 18.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.3347, allocations: 0.5111 MB / 0.5105 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.946e-05/0.3348, allocations: 46.89 kB / 0.5105 GB, free: 18.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.335, allocations: 447.2 kB / 0.511 GB, free: 17.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.3353, allocations: 0.5239 MB / 0.5115 GB, free: 17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3353, allocations: 2.938 kB / 0.5115 GB, free: 17 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000484/0.3358, allocations: 391.3 kB / 0.5119 GB, free: 16.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3358, allocations: 9.906 kB / 0.5119 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.3358, allocations: 15.2 kB / 0.5119 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.3358, allocations: 11.25 kB / 0.5119 GB, free: 16.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.3361, allocations: 113.8 kB / 0.512 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.3362, allocations: 20.06 kB / 0.512 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3364, allocations: 16.59 kB / 0.512 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.3364, allocations: 31.08 kB / 0.5121 GB, free: 16.8 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 9.246e-05/0.3365, allocations: 195.7 kB / 0.5123 GB, free: 16.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.3366, allocations: 27.17 kB / 0.5123 GB, free: 16.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.3368, allocations: 162.2 kB / 0.5124 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3369, allocations: 3.688 kB / 0.5124 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3369, allocations: 0 / 0.5124 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3369, allocations: 0.6562 kB / 0.5124 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.3373, allocations: 442.7 kB / 0.5129 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3373, allocations: 2.406 kB / 0.5129 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.3375, allocations: 27.94 kB / 0.5129 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3375, allocations: 4.062 kB / 0.5129 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3375, allocations: 3.969 kB / 0.5129 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3375, allocations: 0 / 0.5129 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.3375, allocations: 7.125 kB / 0.5129 GB, free: 16.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.3377, allocations: 282.5 kB / 0.5132 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.3378, allocations: 25.55 kB / 0.5132 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.3378, allocations: 2.938 kB / 0.5132 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.338, allocations: 8.906 kB / 0.5132 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.338, allocations: 14.81 kB / 0.5132 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.338, allocations: 7.828 kB / 0.5132 GB, free: 15.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3381, allocations: 203.7 kB / 0.5134 GB, free: 15.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3381, allocations: 0 / 0.5134 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004626/0.3386, allocations: 94.28 kB / 0.5135 GB, free: 15.7 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.0002321/0.3388, allocations: 160.1 kB / 0.5137 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.3391, allocations: 196.1 kB / 0.5139 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3391, allocations: 2.969 kB / 0.5139 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.3392, allocations: 47.48 kB / 0.5139 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3396, allocations: 58.06 kB / 0.514 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.3404, allocations: 495.7 kB / 0.5144 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.318e-05/0.3405, allocations: 117 kB / 0.5145 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3406, allocations: 55.66 kB / 0.5146 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.3407, allocations: 32.31 kB / 0.5146 GB, free: 15.05 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3407, allocations: 2.906 kB / 0.5146 GB, free: 15.05 MB / 410.7 MB Notification: Performance of Templates: time 0.006555/0.3472, allocations: 3.192 MB / 0.5177 GB, free: 14.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.415621362044476]