Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.001332/0.001332, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.002158/0.002158, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 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.2271/0.2271, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 65.47 MB / 0.5578 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1901/0.5008, allocations: 153.5 MB / 0.7077 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006483/0.5073, allocations: 5.337 MB / 0.713 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.5074, allocations: 4 kB / 0.713 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.5077, allocations: 55.59 kB / 0.713 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.5115, allocations: 1.339 MB / 0.7143 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.5118, allocations: 151.2 kB / 0.7145 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006419/0.5125, allocations: 406.1 kB / 0.7149 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.514e-05/0.5125, allocations: 9.797 kB / 0.7149 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003108/0.5129, allocations: 179.3 kB / 0.715 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.5132, allocations: 183.4 kB / 0.7152 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.5132, allocations: 8 kB / 0.7152 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002398/0.5156, allocations: 1.119 MB / 0.7163 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.5157, allocations: 43.83 kB / 0.7164 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.5158, allocations: 103.5 kB / 0.7164 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.5175, allocations: 0.8649 MB / 0.7173 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5175, allocations: 0 / 0.7173 GB, free: 3.852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5175, allocations: 0 / 0.7173 GB, free: 3.852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5175, allocations: 0 / 0.7173 GB, free: 3.852 MB / 0.545 GB 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.001416/0.5189, allocations: 0.6255 MB / 0.7179 GB, free: 3.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.519, allocations: 8.031 kB / 0.7179 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.94e-05/0.519, allocations: 12.62 kB / 0.7179 GB, free: 3.172 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.69e-05/0.5191, allocations: 62.66 kB / 0.718 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007676/0.5267, allocations: 0.6054 MB / 0.7186 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.5273, allocations: 209.2 kB / 0.7188 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.5275, allocations: 226.1 kB / 0.719 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.5276, allocations: 16 kB / 0.719 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5289, allocations: 0.5665 MB / 0.7196 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5289, allocations: 7.938 kB / 0.7196 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.529, allocations: 12 kB / 0.7196 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.529, allocations: 11.98 kB / 0.7196 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.5307, allocations: 0.626 MB / 0.7202 GB, free: 0.7188 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.533, allocations: 1.587 MB / 0.7218 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.5334, allocations: 146.5 kB / 0.7219 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.5336, allocations: 68.83 kB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/0.5347, allocations: 491 kB / 0.7224 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5348, allocations: 42.5 kB / 0.7225 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.5348, allocations: 0 / 0.7225 GB, free: 14.24 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.001036/0.5358, allocations: 325.5 kB / 0.7228 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.5359, allocations: 59.39 kB / 0.7228 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.536, allocations: 191.1 kB / 0.723 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.5361, allocations: 29.7 kB / 0.723 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.5362, allocations: 187.8 kB / 0.7232 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.5363, allocations: 71.36 kB / 0.7233 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.5364, allocations: 98 kB / 0.7234 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5366, allocations: 322.8 kB / 0.7237 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.5367, allocations: 76.7 kB / 0.7238 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.537, allocations: 264 kB / 0.724 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.5375, allocations: 369.2 kB / 0.7244 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.5375, allocations: 4 kB / 0.7244 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006667/0.5382, allocations: 361.6 kB / 0.7247 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.5382, allocations: 16.02 kB / 0.7247 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5382, allocations: 8 kB / 0.7247 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5383, allocations: 8 kB / 0.7247 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/0.5387, allocations: 127.8 kB / 0.7249 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000436/0.5391, allocations: 0.6055 MB / 0.7255 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.5394, allocations: 39.69 kB / 0.7255 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.5394, allocations: 40 kB / 0.7255 GB, free: 10.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001873/0.5396, allocations: 153.7 kB / 0.7257 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.5397, allocations: 23.84 kB / 0.7257 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.5406, allocations: 447.3 kB / 0.7261 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5406, allocations: 4 kB / 0.7261 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5406, allocations: 0 / 0.7261 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5406, allocations: 0 / 0.7261 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009329/0.5415, allocations: 0.5472 MB / 0.7267 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5415, allocations: 0 / 0.7267 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.5418, allocations: 55.97 kB / 0.7267 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5418, allocations: 0 / 0.7267 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.5418, allocations: 16.23 kB / 0.7267 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003805/0.5422, allocations: 0.6054 MB / 0.7273 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5422, allocations: 0 / 0.7273 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.5426, allocations: 309 kB / 0.7276 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.5427, allocations: 31.77 kB / 0.7277 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.5427, allocations: 7.984 kB / 0.7277 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.543, allocations: 16 kB / 0.7277 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.543, allocations: 19.91 kB / 0.7277 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.543, allocations: 23.98 kB / 0.7277 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001474/0.5432, allocations: 135.4 kB / 0.7278 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5432, allocations: 0 / 0.7278 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006845/0.5439, allocations: 171.7 kB / 0.728 GB, free: 8.129 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001449/0.5453, allocations: 0.9879 MB / 0.729 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006379/0.546, allocations: 225.5 kB / 0.7292 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.546, allocations: 0 / 0.7292 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.5462, allocations: 76.34 kB / 0.7293 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/0.5468, allocations: 72.16 kB / 0.7293 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.5512, allocations: 3.06 MB / 0.7323 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.5515, allocations: 0.7206 MB / 0.733 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007082/0.5523, allocations: 382.1 kB / 0.7334 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5525, allocations: 87.38 kB / 0.7335 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.5525, allocations: 0 / 0.7335 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/0.8582, allocations: 8.188 MB / 0.7415 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.91, allocations: 6.719 kB / 0.7415 GB, free: 175.9 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.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.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.161532610014547]