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.001237/0.001237, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001404/0.001404, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2384/0.2384, allocations: 46.91 MB / 357.1 MB, free: 10.32 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.001879/0.001879, allocations: 71.89 kB / 0.491 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 65.99 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4903/0.6328, allocations: 153.5 MB / 0.7053 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007018/0.6399, allocations: 5.325 MB / 0.7105 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.6401, allocations: 4 kB / 0.7105 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.6405, allocations: 59.59 kB / 0.7105 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003935/0.6444, allocations: 1.319 MB / 0.7118 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.6448, allocations: 155.1 kB / 0.712 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007575/0.6456, allocations: 394.1 kB / 0.7123 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.342e-05/0.6457, allocations: 17.02 kB / 0.7124 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.6461, allocations: 167.4 kB / 0.7125 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004293/0.6465, allocations: 175.5 kB / 0.7127 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.6465, allocations: 11.94 kB / 0.7127 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.6492, allocations: 1.123 MB / 0.7138 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.6493, allocations: 39.83 kB / 0.7138 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.6495, allocations: 107.5 kB / 0.7139 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.6515, allocations: 0.8616 MB / 0.7148 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6515, allocations: 0 / 0.7148 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6515, allocations: 0 / 0.7148 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6515, allocations: 0 / 0.7148 GB, free: 14.24 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.001651/0.6532, allocations: 0.7009 MB / 0.7155 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6532, allocations: 8.031 kB / 0.7155 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.6533, allocations: 58.73 kB / 0.7155 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008228/0.6616, allocations: 0.6059 MB / 0.7161 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.6622, allocations: 271.5 kB / 0.7164 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.6624, allocations: 127.4 kB / 0.7165 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.6625, allocations: 24 kB / 0.7165 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.6639, allocations: 0.5633 MB / 0.7171 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6639, allocations: 0 / 0.7171 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.664, allocations: 8 kB / 0.7171 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.664, allocations: 4 kB / 0.7171 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.6656, allocations: 0.6377 MB / 0.7177 GB, free: 11.08 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.002646/0.6683, allocations: 1.711 MB / 0.7194 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.6687, allocations: 154.5 kB / 0.7195 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.6689, allocations: 68.88 kB / 0.7196 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/0.6707, allocations: 1.479 MB / 0.721 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.6708, allocations: 38.56 kB / 0.7211 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.6708, allocations: 4 kB / 0.7211 GB, free: 7.195 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.001121/0.6719, allocations: 322.7 kB / 0.7214 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.6719, allocations: 55.41 kB / 0.7214 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.6721, allocations: 186.5 kB / 0.7216 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.6722, allocations: 33.7 kB / 0.7216 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6723, allocations: 187.8 kB / 0.7218 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.6724, allocations: 67.44 kB / 0.7219 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.6726, allocations: 94 kB / 0.722 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6727, allocations: 330.8 kB / 0.7223 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.6729, allocations: 64.7 kB / 0.7224 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.6733, allocations: 263.8 kB / 0.7226 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.6738, allocations: 374.2 kB / 0.723 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6739, allocations: 3.938 kB / 0.723 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007817/0.6746, allocations: 374.5 kB / 0.7233 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.6747, allocations: 8.938 kB / 0.7233 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.6747, allocations: 8 kB / 0.7233 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.6747, allocations: 12 kB / 0.7234 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.6752, allocations: 123.8 kB / 0.7235 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004861/0.6756, allocations: 0.6094 MB / 0.7241 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.6759, allocations: 43.62 kB / 0.7241 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.676, allocations: 43.98 kB / 0.7242 GB, free: 3.777 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.000192/0.6762, allocations: 147.9 kB / 0.7243 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.6763, allocations: 15.91 kB / 0.7243 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/0.6773, allocations: 465.9 kB / 0.7248 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.6773, allocations: 4 kB / 0.7248 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6773, allocations: 0 / 0.7248 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6773, allocations: 0 / 0.7248 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.6784, allocations: 0.6352 MB / 0.7254 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6784, allocations: 4 kB / 0.7254 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.6787, allocations: 63.89 kB / 0.7254 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.6787, allocations: 4 kB / 0.7254 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.6787, allocations: 4 kB / 0.7254 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004181/0.6791, allocations: 0.6034 MB / 0.726 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6791, allocations: 4.031 kB / 0.726 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.6796, allocations: 296.7 kB / 0.7263 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6797, allocations: 112.9 kB / 0.7264 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/0.6797, allocations: 7.938 kB / 0.7264 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.68, allocations: 16.8 kB / 0.7265 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.68, allocations: 27.92 kB / 0.7265 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.6801, allocations: 15.98 kB / 0.7265 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001373/0.6802, allocations: 139.6 kB / 0.7266 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.6802, allocations: 0 / 0.7266 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007013/0.6809, allocations: 167.6 kB / 0.7268 GB, free: 0.8711 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.001381/0.6823, allocations: 0.9879 MB / 0.7278 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.6829, allocations: 228.1 kB / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6829, allocations: 0 / 0.728 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.6831, allocations: 81.33 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.6837, allocations: 69.94 kB / 0.7281 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.6881, allocations: 3.055 MB / 0.7311 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6885, allocations: 0.7285 MB / 0.7318 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006836/0.6892, allocations: 379.2 kB / 0.7322 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002348/0.6894, allocations: 83.38 kB / 0.7323 GB, free: 10.89 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.6894, allocations: 7.938 kB / 0.7323 GB, free: 10.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.7263, allocations: 7.939 MB / 0.74 GB, free: 3.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.92, allocations: 11.88 kB / 0.74 GB, free: 3.07 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.299193972954527]