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.001268/0.001268, allocations: 121 kB / 18.49 MB, free: 4.586 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.001386/0.001386, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.506/1.506, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2395/0.2395, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.002408/0.002408, allocations: 63.91 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1473, allocations: 65.42 MB / 0.5525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4907/0.638, allocations: 153.5 MB / 0.7023 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006715/0.6447, allocations: 5.326 MB / 0.7075 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.645, allocations: 4 kB / 0.7075 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.6453, allocations: 51.61 kB / 0.7076 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.6492, allocations: 1.333 MB / 0.7089 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.6495, allocations: 142.9 kB / 0.709 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006258/0.6502, allocations: 394.2 kB / 0.7094 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.6502, allocations: 14.16 kB / 0.7094 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.6505, allocations: 179.3 kB / 0.7096 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.6508, allocations: 171.5 kB / 0.7098 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.6508, allocations: 8 kB / 0.7098 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.6534, allocations: 1.115 MB / 0.7109 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.6535, allocations: 47.75 kB / 0.7109 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.6536, allocations: 111.5 kB / 0.711 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.6554, allocations: 0.8555 MB / 0.7118 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6554, allocations: 4 kB / 0.7118 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6554, allocations: 0 / 0.7118 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.6555, allocations: 0 / 0.7118 GB, free: 3.906 MB / 0.5137 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.001541/0.657, allocations: 0.7008 MB / 0.7125 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.657, allocations: 8.031 kB / 0.7125 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.179e-05/0.6571, allocations: 12.69 kB / 0.7125 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.6571, allocations: 66.72 kB / 0.7126 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008206/0.6653, allocations: 0.602 MB / 0.7132 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.6659, allocations: 271.3 kB / 0.7135 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.666, allocations: 119.4 kB / 0.7136 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.6661, allocations: 24 kB / 0.7136 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6674, allocations: 0.5634 MB / 0.7141 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6674, allocations: 0 / 0.7141 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.778e-05/0.6675, allocations: 8 kB / 0.7142 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.6675, allocations: 8 kB / 0.7142 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.6691, allocations: 0.6377 MB / 0.7148 GB, free: 0.7383 MB / 0.5137 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.002297/0.6713, allocations: 1.707 MB / 0.7164 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.6717, allocations: 146.5 kB / 0.7166 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.6719, allocations: 75.75 kB / 0.7167 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/0.6735, allocations: 1.49 MB / 0.7181 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.6736, allocations: 38.5 kB / 0.7182 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.674e-06/0.6736, allocations: 0 / 0.7182 GB, free: 12.86 MB / 0.5294 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.001068/0.6746, allocations: 319.9 kB / 0.7185 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.6747, allocations: 59.39 kB / 0.7185 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.6749, allocations: 186.5 kB / 0.7187 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.6749, allocations: 29.7 kB / 0.7187 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.675, allocations: 183.9 kB / 0.7189 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6751, allocations: 79.41 kB / 0.719 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.6753, allocations: 86.02 kB / 0.7191 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.6754, allocations: 334.8 kB / 0.7194 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.6756, allocations: 68.7 kB / 0.7194 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.676, allocations: 263.8 kB / 0.7197 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.6766, allocations: 371.1 kB / 0.72 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6766, allocations: 4 kB / 0.72 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00068/0.6773, allocations: 365.6 kB / 0.7204 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6773, allocations: 10.19 kB / 0.7204 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.6773, allocations: 11.97 kB / 0.7204 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.6773, allocations: 12 kB / 0.7204 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.6777, allocations: 124.5 kB / 0.7205 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004368/0.6782, allocations: 0.6094 MB / 0.7211 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.6784, allocations: 48.5 kB / 0.7212 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.6785, allocations: 36 kB / 0.7212 GB, free: 9.441 MB / 0.5294 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.0001567/0.6787, allocations: 147.8 kB / 0.7214 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.988e-05/0.6787, allocations: 23.84 kB / 0.7214 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009048/0.6796, allocations: 464.7 kB / 0.7218 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.6796, allocations: 7.938 kB / 0.7218 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6796, allocations: 0 / 0.7218 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6796, allocations: 0 / 0.7218 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.6806, allocations: 0.6392 MB / 0.7225 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6806, allocations: 0 / 0.7225 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.6809, allocations: 59.91 kB / 0.7225 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6809, allocations: 4 kB / 0.7225 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6809, allocations: 11.98 kB / 0.7225 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/0.6813, allocations: 0.5976 MB / 0.7231 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6813, allocations: 256 / 0.7231 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.6817, allocations: 306.2 kB / 0.7234 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6818, allocations: 108.9 kB / 0.7235 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.6819, allocations: 7.938 kB / 0.7235 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6821, allocations: 15.98 kB / 0.7235 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.6822, allocations: 15.98 kB / 0.7236 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6822, allocations: 16 kB / 0.7236 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001354/0.6823, allocations: 143 kB / 0.7237 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6823, allocations: 0 / 0.7237 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006982/0.683, allocations: 167.6 kB / 0.7239 GB, free: 6.539 MB / 0.5294 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.001249/0.6843, allocations: 1.001 MB / 0.7248 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006128/0.6849, allocations: 221.1 kB / 0.7251 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6849, allocations: 4 kB / 0.7251 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.6851, allocations: 71.97 kB / 0.7251 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.6857, allocations: 66.19 kB / 0.7252 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.6906, allocations: 3.057 MB / 0.7282 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.691, allocations: 0.7285 MB / 0.7289 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006537/0.6917, allocations: 384.3 kB / 0.7293 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6919, allocations: 87.38 kB / 0.7293 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.6919, allocations: 3.938 kB / 0.7293 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.7222, allocations: 7.974 MB / 0.7371 GB, free: 8.715 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.93, allocations: 11.3 kB / 0.7371 GB, free: 8.707 MB / 0.545 GB " [Timeout remaining time 647] (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: 16.377092968963552]