Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001253/0.001253, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 79.88 kB / 0.497 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2875, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1735/0.461, allocations: 153.5 MB / 0.7114 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.4671, allocations: 5.337 MB / 0.7167 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4672, allocations: 0 / 0.7167 GB, free: 4.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.4674, allocations: 63.58 kB / 0.7167 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.4707, allocations: 1.342 MB / 0.718 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.471, allocations: 141.5 kB / 0.7182 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005922/0.4716, allocations: 406.1 kB / 0.7186 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.4716, allocations: 9.797 kB / 0.7186 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.4719, allocations: 183.3 kB / 0.7187 GB, free: 2.723 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.4723, allocations: 179.4 kB / 0.7189 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4723, allocations: 8 kB / 0.7189 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.4746, allocations: 1.108 MB / 0.72 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.4747, allocations: 47.81 kB / 0.72 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.4748, allocations: 107.5 kB / 0.7201 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4764, allocations: 0.8649 MB / 0.721 GB, free: 420 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4764, allocations: 4 kB / 0.721 GB, free: 416 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4764, allocations: 0 / 0.721 GB, free: 416 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4764, allocations: 0 / 0.721 GB, free: 416 kB / 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.001424/0.4778, allocations: 0.6138 MB / 0.7216 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4779, allocations: 16.03 kB / 0.7216 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.431e-05/0.4779, allocations: 8.688 kB / 0.7216 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.478, allocations: 58.72 kB / 0.7217 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007593/0.4855, allocations: 0.6093 MB / 0.7223 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.4861, allocations: 209.1 kB / 0.7225 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.4862, allocations: 230.1 kB / 0.7227 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4863, allocations: 20 kB / 0.7227 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.4876, allocations: 0.5665 MB / 0.7233 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4876, allocations: 4 kB / 0.7233 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.4877, allocations: 15.98 kB / 0.7233 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.4877, allocations: 4 kB / 0.7233 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.4892, allocations: 0.6415 MB / 0.7239 GB, free: 13.27 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.002157/0.4914, allocations: 1.579 MB / 0.7255 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.4917, allocations: 146.5 kB / 0.7256 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.4919, allocations: 68.88 kB / 0.7257 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.493, allocations: 491 kB / 0.7261 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.493, allocations: 34.56 kB / 0.7262 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.493, allocations: 4 kB / 0.7262 GB, free: 10.8 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.0009726/0.494, allocations: 324.3 kB / 0.7265 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.494, allocations: 51.41 kB / 0.7265 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.4942, allocations: 194.5 kB / 0.7267 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/0.4943, allocations: 33.7 kB / 0.7267 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.4944, allocations: 191.8 kB / 0.7269 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.4944, allocations: 71.31 kB / 0.727 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.4946, allocations: 94 kB / 0.7271 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4947, allocations: 330.8 kB / 0.7274 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4949, allocations: 64.7 kB / 0.7275 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.4952, allocations: 260.1 kB / 0.7277 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.4957, allocations: 372.4 kB / 0.7281 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4957, allocations: 0 / 0.7281 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006502/0.4963, allocations: 380.7 kB / 0.7284 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4964, allocations: 8.938 kB / 0.7284 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4964, allocations: 8 kB / 0.7284 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.4964, allocations: 8 kB / 0.7284 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.4968, allocations: 127.9 kB / 0.7286 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/0.4972, allocations: 0.6093 MB / 0.7292 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.4974, allocations: 39.69 kB / 0.7292 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.419e-05/0.4975, allocations: 43.98 kB / 0.7292 GB, free: 7.375 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.0001507/0.4976, allocations: 143.1 kB / 0.7294 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.4977, allocations: 23.78 kB / 0.7294 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008339/0.4985, allocations: 457.9 kB / 0.7298 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4985, allocations: 0 / 0.7298 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4986, allocations: 4 kB / 0.7298 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4986, allocations: 0 / 0.7298 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/0.4994, allocations: 0.5433 MB / 0.7304 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4994, allocations: 4 kB / 0.7304 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.4996, allocations: 51.97 kB / 0.7304 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4996, allocations: 7.984 kB / 0.7304 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.4997, allocations: 8 kB / 0.7304 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.5, allocations: 0.6017 MB / 0.731 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.5, allocations: 8.016 kB / 0.731 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.5004, allocations: 294.3 kB / 0.7313 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.5005, allocations: 35.75 kB / 0.7314 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.5005, allocations: 8 kB / 0.7314 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.5008, allocations: 19.98 kB / 0.7314 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5008, allocations: 19.92 kB / 0.7314 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.5009, allocations: 19.98 kB / 0.7314 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001238/0.501, allocations: 143.3 kB / 0.7316 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.501, allocations: 0 / 0.7316 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000633/0.5016, allocations: 167.6 kB / 0.7317 GB, free: 4.684 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.001117/0.5027, allocations: 0.9919 MB / 0.7327 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.5032, allocations: 226.9 kB / 0.7329 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5032, allocations: 0 / 0.7329 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.5035, allocations: 81.33 kB / 0.733 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.504, allocations: 70.27 kB / 0.733 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2155/0.7195, allocations: 3.055 MB / 0.736 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.7197, allocations: 0.7243 MB / 0.7367 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008753/0.7206, allocations: 368.7 kB / 0.7371 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.7208, allocations: 89.7 kB / 0.7372 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.7208, allocations: 0 / 0.7372 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02695/0.7478, allocations: 8.191 MB / 0.7452 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.09, allocations: 8.062 kB / 0.7452 GB, free: 169.4 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.150490045023616]