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.001431/0.001431, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001437/0.001437, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2178/0.2178, allocations: 43.54 MB / 314.1 MB, free: 460 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.002086/0.002087, allocations: 73.45 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1224, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4202/0.5426, allocations: 151.4 MB / 0.6353 GB, free: 3.324 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.5487, allocations: 4.712 MB / 0.6399 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.5488, allocations: 0 / 0.6399 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.5492, allocations: 59.59 kB / 0.6399 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00423/0.5535, allocations: 1.556 MB / 0.6414 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5538, allocations: 140.2 kB / 0.6416 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.5544, allocations: 390.1 kB / 0.6419 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.5544, allocations: 17.66 kB / 0.642 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.5547, allocations: 168 kB / 0.6421 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.555, allocations: 175.5 kB / 0.6423 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.5551, allocations: 8 kB / 0.6423 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.5581, allocations: 1.301 MB / 0.6436 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.5582, allocations: 47.8 kB / 0.6436 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.5584, allocations: 107.5 kB / 0.6437 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.5604, allocations: 0.9762 MB / 0.6447 GB, free: 9.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5604, allocations: 0 / 0.6447 GB, free: 9.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5604, allocations: 4 kB / 0.6447 GB, free: 9.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.5604, allocations: 0 / 0.6447 GB, free: 9.691 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.001441/0.5619, allocations: 0.7202 MB / 0.6454 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.5619, allocations: 15.89 kB / 0.6454 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.775e-05/0.562, allocations: 58.73 kB / 0.6454 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007291/0.5693, allocations: 0.5902 MB / 0.646 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006953/0.57, allocations: 272 kB / 0.6463 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.5702, allocations: 127.3 kB / 0.6464 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.959e-05/0.5703, allocations: 16 kB / 0.6464 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5716, allocations: 0.5673 MB / 0.647 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5716, allocations: 0 / 0.647 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.5717, allocations: 12 kB / 0.647 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.5717, allocations: 11.98 kB / 0.647 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.5733, allocations: 0.6221 MB / 0.6476 GB, free: 6.531 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.002195/0.5755, allocations: 1.657 MB / 0.6492 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.5759, allocations: 162.5 kB / 0.6494 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.576, allocations: 76.44 kB / 0.6494 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.5782, allocations: 2.076 MB / 0.6515 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.5783, allocations: 38.5 kB / 0.6515 GB, free: 2.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.5783, allocations: 0 / 0.6515 GB, free: 2.02 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.001012/0.5793, allocations: 337.5 kB / 0.6518 GB, free: 1.684 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5793, allocations: 55.41 kB / 0.6519 GB, free: 1.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.5795, allocations: 174.2 kB / 0.652 GB, free: 1.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.5796, allocations: 33.7 kB / 0.6521 GB, free: 1.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5797, allocations: 191.8 kB / 0.6523 GB, free: 1.203 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.5798, allocations: 67.44 kB / 0.6523 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.5799, allocations: 93.95 kB / 0.6524 GB, free: 1.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5801, allocations: 330.8 kB / 0.6527 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.5802, allocations: 72.64 kB / 0.6528 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.5805, allocations: 267.8 kB / 0.6531 GB, free: 288 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.581, allocations: 367.6 kB / 0.6534 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.581, allocations: 5.375 kB / 0.6534 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006236/0.5817, allocations: 374 kB / 0.6538 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5817, allocations: 8 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5817, allocations: 4 kB / 0.6538 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.5817, allocations: 12 kB / 0.6538 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.5821, allocations: 119.8 kB / 0.6539 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004234/0.5826, allocations: 0.6055 MB / 0.6545 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5828, allocations: 43.89 kB / 0.6545 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/0.5829, allocations: 47.98 kB / 0.6546 GB, free: 14.6 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.0001467/0.583, allocations: 145.6 kB / 0.6547 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.5831, allocations: 19.91 kB / 0.6547 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.5838, allocations: 334 kB / 0.6551 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5838, allocations: 0 / 0.6551 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5838, allocations: 0 / 0.6551 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5838, allocations: 3.984 kB / 0.6551 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.5846, allocations: 0.5298 MB / 0.6556 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5846, allocations: 1.188 kB / 0.6556 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.5848, allocations: 55.97 kB / 0.6556 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5848, allocations: 4 kB / 0.6556 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.5848, allocations: 7.984 kB / 0.6556 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003552/0.5852, allocations: 0.5938 MB / 0.6562 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5852, allocations: 3.938 kB / 0.6562 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.5856, allocations: 279.7 kB / 0.6565 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5857, allocations: 108.9 kB / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.5858, allocations: 0 / 0.6566 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.586, allocations: 23.98 kB / 0.6566 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.586, allocations: 15.92 kB / 0.6566 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.5861, allocations: 19.98 kB / 0.6567 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001264/0.5862, allocations: 135 kB / 0.6568 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.985e-06/0.5862, allocations: 0 / 0.6568 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000717/0.5869, allocations: 215.4 kB / 0.657 GB, free: 11.96 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.001361/0.5883, allocations: 1.052 MB / 0.658 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005128/0.5888, allocations: 225.3 kB / 0.6582 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5888, allocations: 0 / 0.6582 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.589, allocations: 87.83 kB / 0.6583 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.5896, allocations: 69.94 kB / 0.6584 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005634/0.5952, allocations: 4.121 MB / 0.6624 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.5956, allocations: 0.7285 MB / 0.6631 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.596, allocations: 98.17 kB / 0.6632 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5962, allocations: 75.39 kB / 0.6633 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.5962, allocations: 0 / 0.6633 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.6314, allocations: 8.861 MB / 0.6719 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.46, allocations: 7.984 kB / 0.6719 GB, free: 12.29 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