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.001282/0.001282, 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.001554/0.001554, 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2308/0.2308, allocations: 46.95 MB / 361.7 MB, free: 4.355 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.001934/0.001934, allocations: 67.91 kB / 0.497 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3175, allocations: 66.03 MB / 0.5615 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1912/0.5087, allocations: 153.5 MB / 0.7114 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006543/0.5152, allocations: 5.341 MB / 0.7166 GB, free: 5.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.5154, allocations: 4 kB / 0.7166 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.5157, allocations: 51.61 kB / 0.7166 GB, free: 4.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.5195, allocations: 1.35 MB / 0.718 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.5198, allocations: 147.4 kB / 0.7181 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.5205, allocations: 406.1 kB / 0.7185 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.5206, allocations: 13.73 kB / 0.7185 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.5209, allocations: 171.4 kB / 0.7187 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.5213, allocations: 179.4 kB / 0.7188 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.699e-05/0.5213, allocations: 8 kB / 0.7188 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/0.5239, allocations: 1.119 MB / 0.7199 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.524, allocations: 35.89 kB / 0.72 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.5242, allocations: 111.5 kB / 0.7201 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.5264, allocations: 0.8649 MB / 0.7209 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5264, allocations: 4 kB / 0.7209 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5264, allocations: 4 kB / 0.7209 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.5264, allocations: 0 / 0.7209 GB, free: 0.5586 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.001904/0.5283, allocations: 0.6255 MB / 0.7215 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.5284, allocations: 8.031 kB / 0.7215 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.059e-05/0.5284, allocations: 4.688 kB / 0.7215 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.5285, allocations: 66.72 kB / 0.7216 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00809/0.5366, allocations: 0.6015 MB / 0.7222 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006275/0.5372, allocations: 209.2 kB / 0.7224 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.5374, allocations: 226.1 kB / 0.7226 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.5376, allocations: 20 kB / 0.7226 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5389, allocations: 0.5665 MB / 0.7232 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5389, allocations: 3.938 kB / 0.7232 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.539, allocations: 12 kB / 0.7232 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.5391, allocations: 11.92 kB / 0.7232 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.5406, allocations: 0.6338 MB / 0.7238 GB, free: 13.43 MB / 0.5606 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.002327/0.5429, allocations: 1.583 MB / 0.7254 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.5433, allocations: 146.5 kB / 0.7255 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.5435, allocations: 72.83 kB / 0.7256 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.5446, allocations: 491 kB / 0.726 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.5447, allocations: 34.56 kB / 0.7261 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.5447, allocations: 0 / 0.7261 GB, free: 10.96 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.001035/0.5457, allocations: 328.7 kB / 0.7264 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5457, allocations: 59.39 kB / 0.7265 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.5459, allocations: 187.1 kB / 0.7266 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.546, allocations: 33.7 kB / 0.7267 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.5461, allocations: 187.8 kB / 0.7268 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.5462, allocations: 75.36 kB / 0.7269 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5463, allocations: 101.9 kB / 0.727 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5465, allocations: 326.8 kB / 0.7273 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.5466, allocations: 64.7 kB / 0.7274 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/0.547, allocations: 268 kB / 0.7276 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5475, allocations: 372.7 kB / 0.728 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.5475, allocations: 0 / 0.728 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006731/0.5482, allocations: 365.2 kB / 0.7283 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5482, allocations: 11.98 kB / 0.7284 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.5482, allocations: 8 kB / 0.7284 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5482, allocations: 8 kB / 0.7284 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.5486, allocations: 127.8 kB / 0.7285 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004443/0.5491, allocations: 0.6099 MB / 0.7291 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.5493, allocations: 39.69 kB / 0.7291 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.5494, allocations: 40 kB / 0.7292 GB, free: 7.531 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.0002249/0.5496, allocations: 149.6 kB / 0.7293 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.5497, allocations: 19.84 kB / 0.7293 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009723/0.5507, allocations: 455.4 kB / 0.7298 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.5507, allocations: 4 kB / 0.7298 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5507, allocations: 4 kB / 0.7298 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5507, allocations: 0 / 0.7298 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.5516, allocations: 0.5318 MB / 0.7303 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5516, allocations: 4 kB / 0.7303 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.5518, allocations: 55.91 kB / 0.7303 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.5518, allocations: 4 kB / 0.7303 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.5518, allocations: 11.98 kB / 0.7304 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.5522, allocations: 0.5937 MB / 0.7309 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5522, allocations: 4.031 kB / 0.7309 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.5526, allocations: 309.2 kB / 0.7312 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.5527, allocations: 35.77 kB / 0.7313 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.5528, allocations: 7.984 kB / 0.7313 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.553, allocations: 15.98 kB / 0.7313 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.5531, allocations: 23.89 kB / 0.7313 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.896e-05/0.5531, allocations: 16 kB / 0.7313 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001321/0.5532, allocations: 143.4 kB / 0.7315 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5532, allocations: 3.938 kB / 0.7315 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000682/0.5539, allocations: 171.7 kB / 0.7316 GB, free: 4.836 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.001227/0.5551, allocations: 0.9841 MB / 0.7326 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005736/0.5557, allocations: 225.4 kB / 0.7328 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.5557, allocations: 4 kB / 0.7328 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5559, allocations: 75.84 kB / 0.7329 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.5565, allocations: 72.48 kB / 0.733 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.5607, allocations: 3.058 MB / 0.7359 GB, free: 72 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2448/0.8055, allocations: 0.7191 MB / 0.7366 GB, free: 175 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000924/0.8065, allocations: 377.4 kB / 0.737 GB, free: 175 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.8067, allocations: 90.73 kB / 0.7371 GB, free: 175 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.8067, allocations: 0 / 0.7371 GB, free: 175 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.8339, allocations: 8.198 MB / 0.7451 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.68, allocations: 7.422 kB / 0.7451 GB, free: 170.4 MB / 0.5606 GB " [Timeout remaining time 646] (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.93081531696953]