Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001174, allocations: 104.9 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2276/0.2276, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 61.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1277, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5159/0.6437, allocations: 151.4 MB / 0.6353 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.6499, allocations: 4.715 MB / 0.6399 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.6502, allocations: 0 / 0.6399 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.6507, allocations: 63.53 kB / 0.6399 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005704/0.6564, allocations: 1.547 MB / 0.6414 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.6569, allocations: 145.5 kB / 0.6416 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.6578, allocations: 394.2 kB / 0.6419 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.6579, allocations: 9.688 kB / 0.642 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000458/0.6584, allocations: 171.3 kB / 0.6421 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.6588, allocations: 171.4 kB / 0.6423 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.6588, allocations: 8 kB / 0.6423 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0031/0.6619, allocations: 1.302 MB / 0.6436 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.6621, allocations: 47.77 kB / 0.6436 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.6624, allocations: 111.5 kB / 0.6437 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.6653, allocations: 0.9629 MB / 0.6446 GB, free: 9.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6653, allocations: 4 kB / 0.6447 GB, free: 9.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6653, allocations: 0 / 0.6447 GB, free: 9.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.6654, allocations: 0 / 0.6447 GB, free: 9.812 MB / 494.1 MB 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.001757/0.6671, allocations: 0.7101 MB / 0.6453 GB, free: 9.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6672, allocations: 11.89 kB / 0.6454 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.106e-05/0.6673, allocations: 58.73 kB / 0.6454 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007639/0.6749, allocations: 0.5979 MB / 0.646 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006699/0.6756, allocations: 275.9 kB / 0.6463 GB, free: 8.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.6758, allocations: 123.3 kB / 0.6464 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6759, allocations: 28 kB / 0.6464 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.6771, allocations: 0.5556 MB / 0.6469 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.6771, allocations: 0 / 0.6469 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.6772, allocations: 12 kB / 0.647 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.6773, allocations: 8 kB / 0.647 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.6788, allocations: 0.626 MB / 0.6476 GB, free: 6.66 MB / 494.1 MB 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.00224/0.681, allocations: 1.649 MB / 0.6492 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.6814, allocations: 158.5 kB / 0.6493 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.6816, allocations: 72.83 kB / 0.6494 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/0.6836, allocations: 2.076 MB / 0.6514 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6837, allocations: 38.56 kB / 0.6515 GB, free: 2.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.6837, allocations: 3.938 kB / 0.6515 GB, free: 2.156 MB / 494.1 MB 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=20): time 0.001009/0.6847, allocations: 337.3 kB / 0.6518 GB, free: 1.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6847, allocations: 55.41 kB / 0.6519 GB, free: 1.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.6849, allocations: 178.2 kB / 0.652 GB, free: 1.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.6849, allocations: 29.7 kB / 0.6521 GB, free: 1.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.685, allocations: 175.4 kB / 0.6522 GB, free: 1.355 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.6851, allocations: 74.94 kB / 0.6523 GB, free: 1.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6852, allocations: 93.95 kB / 0.6524 GB, free: 1.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6853, allocations: 330.8 kB / 0.6527 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.6855, allocations: 64.7 kB / 0.6528 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.6858, allocations: 263.8 kB / 0.653 GB, free: 448 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.6862, allocations: 370.9 kB / 0.6534 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.6863, allocations: 4 kB / 0.6534 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006487/0.6869, allocations: 370.8 kB / 0.6537 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.687, allocations: 8 kB / 0.6537 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.687, allocations: 11.75 kB / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.948e-05/0.687, allocations: 8 kB / 0.6537 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.6875, allocations: 123.8 kB / 0.6539 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004014/0.6879, allocations: 0.6018 MB / 0.6545 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.6882, allocations: 47.69 kB / 0.6545 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.6883, allocations: 35.98 kB / 0.6545 GB, free: 14.76 MB / 0.4981 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.0001853/0.6885, allocations: 153.5 kB / 0.6547 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.6886, allocations: 23.8 kB / 0.6547 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.6893, allocations: 330.1 kB / 0.655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6893, allocations: 0 / 0.655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6893, allocations: 4 kB / 0.655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.6893, allocations: 0 / 0.655 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.6901, allocations: 0.5219 MB / 0.6555 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.6901, allocations: 4 kB / 0.6555 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.6903, allocations: 56.41 kB / 0.6556 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.6904, allocations: 4 kB / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.6904, allocations: 4 kB / 0.6556 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003213/0.6907, allocations: 0.6011 MB / 0.6562 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6907, allocations: 8.188 kB / 0.6562 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.6911, allocations: 279.5 kB / 0.6565 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.6912, allocations: 108.9 kB / 0.6566 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.6913, allocations: 11.94 kB / 0.6566 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.6915, allocations: 7.984 kB / 0.6566 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6916, allocations: 19.92 kB / 0.6566 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.6916, allocations: 15.98 kB / 0.6566 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001113/0.6917, allocations: 139 kB / 0.6567 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6917, allocations: 4 kB / 0.6567 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007044/0.6924, allocations: 192 kB / 0.6569 GB, free: 12.13 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001476/0.6939, allocations: 1.061 MB / 0.658 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.6945, allocations: 237.1 kB / 0.6582 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6945, allocations: 0 / 0.6582 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.6947, allocations: 84.39 kB / 0.6583 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.6953, allocations: 63.92 kB / 0.6583 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.7007, allocations: 4.115 MB / 0.6624 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.701, allocations: 0.7245 MB / 0.6631 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.7014, allocations: 100 kB / 0.6632 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.7015, allocations: 71.41 kB / 0.6632 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.7015, allocations: 0 / 0.6632 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.7343, allocations: 8.913 MB / 0.6719 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.26, allocations: 7.734 kB / 0.6719 GB, free: 12.42 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches