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.001399/0.001399, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001415/0.001415, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2288/0.2288, allocations: 46.92 MB / 360.9 MB, free: 4.281 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 71.88 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3442, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1861/0.5303, allocations: 153.5 MB / 0.7106 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006758/0.537, allocations: 5.345 MB / 0.7158 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.5372, allocations: 0 / 0.7158 GB, free: 4.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.5376, allocations: 51.59 kB / 0.7159 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.5414, allocations: 1.346 MB / 0.7172 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.5417, allocations: 139.3 kB / 0.7173 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.5424, allocations: 406.1 kB / 0.7177 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.5425, allocations: 13.78 kB / 0.7177 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003519/0.5428, allocations: 175.3 kB / 0.7179 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.5432, allocations: 183.4 kB / 0.7181 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.5432, allocations: 8 kB / 0.7181 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.5456, allocations: 1.119 MB / 0.7192 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.5457, allocations: 39.89 kB / 0.7192 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.5459, allocations: 111.5 kB / 0.7193 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.5477, allocations: 0.8571 MB / 0.7201 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5477, allocations: 3.938 kB / 0.7201 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5477, allocations: 4 kB / 0.7201 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5477, allocations: 0 / 0.7201 GB, free: 0.5391 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.001447/0.5492, allocations: 0.6216 MB / 0.7207 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5492, allocations: 8.031 kB / 0.7208 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.03e-05/0.5493, allocations: 66.66 kB / 0.7208 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007534/0.5568, allocations: 0.6132 MB / 0.7214 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.5575, allocations: 201.4 kB / 0.7216 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.5577, allocations: 230.1 kB / 0.7218 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.5578, allocations: 28 kB / 0.7219 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.5591, allocations: 0.5587 MB / 0.7224 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5591, allocations: 4 kB / 0.7224 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.5592, allocations: 11.94 kB / 0.7224 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.5592, allocations: 11.94 kB / 0.7224 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.5607, allocations: 0.6299 MB / 0.723 GB, free: 13.41 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.00247/0.5631, allocations: 1.583 MB / 0.7246 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.5635, allocations: 154.3 kB / 0.7247 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.5636, allocations: 68.88 kB / 0.7248 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.5648, allocations: 495 kB / 0.7253 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5648, allocations: 34.56 kB / 0.7253 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.5648, allocations: 4 kB / 0.7253 GB, free: 10.94 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.001094/0.5659, allocations: 319.8 kB / 0.7256 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.5661, allocations: 55.34 kB / 0.7257 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.5663, allocations: 195.1 kB / 0.7259 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.5663, allocations: 37.69 kB / 0.7259 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5665, allocations: 179.9 kB / 0.7261 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.5665, allocations: 79.34 kB / 0.7261 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5667, allocations: 97.95 kB / 0.7262 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5668, allocations: 326.8 kB / 0.7265 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.567, allocations: 64.7 kB / 0.7266 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.5673, allocations: 256 kB / 0.7268 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.5679, allocations: 377 kB / 0.7272 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.5679, allocations: 0 / 0.7272 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006914/0.5686, allocations: 377.4 kB / 0.7276 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.5686, allocations: 8 kB / 0.7276 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5686, allocations: 8 kB / 0.7276 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.5686, allocations: 8 kB / 0.7276 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.5691, allocations: 127.8 kB / 0.7277 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004809/0.5696, allocations: 0.6018 MB / 0.7283 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.5698, allocations: 47.78 kB / 0.7283 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.5699, allocations: 47.92 kB / 0.7284 GB, free: 7.516 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.0001875/0.5701, allocations: 141.7 kB / 0.7285 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.5702, allocations: 19.84 kB / 0.7285 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/0.571, allocations: 455.4 kB / 0.729 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.571, allocations: 0 / 0.729 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.571, allocations: 4 kB / 0.729 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.571, allocations: 3.984 kB / 0.729 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.5719, allocations: 0.5316 MB / 0.7295 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.572, allocations: 7.984 kB / 0.7295 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.5722, allocations: 60.22 kB / 0.7296 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.5722, allocations: 7.938 kB / 0.7296 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5722, allocations: 4 kB / 0.7296 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004014/0.5726, allocations: 0.6054 MB / 0.7302 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5726, allocations: 4.031 kB / 0.7302 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.5731, allocations: 296.9 kB / 0.7305 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5732, allocations: 39.77 kB / 0.7305 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.5733, allocations: 12 kB / 0.7305 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5735, allocations: 11.98 kB / 0.7305 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.5736, allocations: 15.92 kB / 0.7305 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.5736, allocations: 19.98 kB / 0.7306 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001591/0.5738, allocations: 143.4 kB / 0.7307 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5738, allocations: 3.938 kB / 0.7307 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007726/0.5745, allocations: 167.7 kB / 0.7309 GB, free: 4.82 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.001251/0.5758, allocations: 0.9919 MB / 0.7318 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005395/0.5763, allocations: 217.1 kB / 0.732 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/0.5763, allocations: 448 / 0.732 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.5765, allocations: 83.83 kB / 0.7321 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.5771, allocations: 60.66 kB / 0.7322 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.5816, allocations: 3.066 MB / 0.7352 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2499/0.8315, allocations: 0.7177 MB / 0.7359 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009415/0.8324, allocations: 377.1 kB / 0.7362 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.8327, allocations: 92.7 kB / 0.7363 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.8327, allocations: 0.5312 kB / 0.7363 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.8668, allocations: 8.169 MB / 0.7443 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.47, allocations: 2.922 kB / 0.7443 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.534132504137233]