Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001324/0.001324, allocations: 121 kB / 18.5 MB, free: 4.562 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.0014/0.0014, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 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.2407/0.2407, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.89 kB / 0.4916 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1608, allocations: 65.99 MB / 0.5561 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5474/0.7082, allocations: 153.5 MB / 0.706 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007409/0.7156, allocations: 5.314 MB / 0.7112 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.7158, allocations: 0 / 0.7112 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.7161, allocations: 59.58 kB / 0.7112 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.72, allocations: 1.326 MB / 0.7125 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.7204, allocations: 141.4 kB / 0.7126 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006626/0.721, allocations: 406.1 kB / 0.713 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.7211, allocations: 9.031 kB / 0.713 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.7214, allocations: 175.3 kB / 0.7132 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003314/0.7218, allocations: 183.4 kB / 0.7134 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.7218, allocations: 8 kB / 0.7134 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.7242, allocations: 1.104 MB / 0.7145 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.7243, allocations: 51.77 kB / 0.7145 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.7244, allocations: 107.5 kB / 0.7146 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002015/0.7264, allocations: 0.8617 MB / 0.7155 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7264, allocations: 0 / 0.7155 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7264, allocations: 0 / 0.7155 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.7264, allocations: 0 / 0.7155 GB, free: 14.01 MB / 0.5294 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.002223/0.7287, allocations: 0.6969 MB / 0.7161 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.7287, allocations: 12.03 kB / 0.7162 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.883e-05/0.7288, allocations: 8.75 kB / 0.7162 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.7289, allocations: 58.73 kB / 0.7162 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.7422, allocations: 0.6136 MB / 0.7168 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008936/0.7431, allocations: 267.3 kB / 0.7171 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.7434, allocations: 123.4 kB / 0.7172 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.7436, allocations: 20 kB / 0.7172 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.7453, allocations: 0.5634 MB / 0.7178 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.7453, allocations: 3.938 kB / 0.7178 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.7454, allocations: 8 kB / 0.7178 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.7454, allocations: 4 kB / 0.7178 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.747, allocations: 0.6377 MB / 0.7184 GB, free: 10.84 MB / 0.5294 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.002559/0.7496, allocations: 1.711 MB / 0.7201 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.75, allocations: 146.5 kB / 0.7202 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.7501, allocations: 68.88 kB / 0.7203 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/0.7519, allocations: 1.487 MB / 0.7217 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.752, allocations: 42.48 kB / 0.7218 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 5.22e-06/0.752, allocations: 7.984 kB / 0.7218 GB, free: 6.953 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.001112/0.7531, allocations: 318.8 kB / 0.7221 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.7531, allocations: 51.41 kB / 0.7221 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.7533, allocations: 190.5 kB / 0.7223 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.7534, allocations: 33.7 kB / 0.7223 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.7535, allocations: 187.8 kB / 0.7225 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.7536, allocations: 71.42 kB / 0.7226 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.7537, allocations: 94 kB / 0.7227 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.7539, allocations: 330.8 kB / 0.723 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.754, allocations: 68.64 kB / 0.7231 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.7544, allocations: 259.8 kB / 0.7233 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.7549, allocations: 375.6 kB / 0.7237 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7549, allocations: 0 / 0.7237 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007148/0.7556, allocations: 368.8 kB / 0.724 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.7557, allocations: 10.97 kB / 0.724 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.7557, allocations: 8 kB / 0.724 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.7557, allocations: 8 kB / 0.724 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.7561, allocations: 127.8 kB / 0.7242 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004926/0.7566, allocations: 0.6015 MB / 0.7248 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.7569, allocations: 55.31 kB / 0.7248 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.757, allocations: 47.92 kB / 0.7249 GB, free: 3.535 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.0002405/0.7573, allocations: 140 kB / 0.725 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.7573, allocations: 23.84 kB / 0.725 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.7583, allocations: 460.5 kB / 0.7254 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.7583, allocations: 0 / 0.7254 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.7584, allocations: 4 kB / 0.7255 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7584, allocations: 0 / 0.7255 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.7595, allocations: 0.6352 MB / 0.7261 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.7596, allocations: 7.984 kB / 0.7261 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.7599, allocations: 59.91 kB / 0.7261 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.76, allocations: 4 kB / 0.7261 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.76, allocations: 4 kB / 0.7261 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000474/0.7604, allocations: 0.6057 MB / 0.7267 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.7605, allocations: 4 kB / 0.7267 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.761, allocations: 296.4 kB / 0.727 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.7611, allocations: 108.9 kB / 0.7271 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.7612, allocations: 11.88 kB / 0.7271 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.7614, allocations: 11.98 kB / 0.7271 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.7615, allocations: 20.86 kB / 0.7272 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.7615, allocations: 23.92 kB / 0.7272 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001416/0.7617, allocations: 135.6 kB / 0.7273 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7617, allocations: 0 / 0.7273 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007492/0.7624, allocations: 171.6 kB / 0.7275 GB, free: 0.6367 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.001391/0.7638, allocations: 0.9918 MB / 0.7285 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006674/0.7645, allocations: 224.3 kB / 0.7287 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7645, allocations: 0 / 0.7287 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.7647, allocations: 81.38 kB / 0.7287 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.7653, allocations: 63.14 kB / 0.7288 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.7704, allocations: 3.065 MB / 0.7318 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.7708, allocations: 0.7207 MB / 0.7325 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007441/0.7715, allocations: 383.3 kB / 0.7329 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.7718, allocations: 91.31 kB / 0.733 GB, free: 10.65 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/0.7718, allocations: 4 kB / 0.733 GB, free: 10.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.8016, allocations: 7.974 MB / 0.7407 GB, free: 2.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.85, allocations: 7.875 kB / 0.7408 GB, free: 2.809 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.343060564016923]