Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_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.001331/0.001331, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001218/0.001218, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3621, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1824/0.5445, allocations: 150.1 MB / 0.6651 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007446/0.552, allocations: 5.314 MB / 0.6703 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003081/0.5523, allocations: 0 / 0.6703 GB, free: 76 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.5528, allocations: 59.59 kB / 0.6703 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.558, allocations: 1.314 MB / 0.6716 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.5584, allocations: 143.5 kB / 0.6717 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.5592, allocations: 390.1 kB / 0.6721 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.362e-05/0.5593, allocations: 16.3 kB / 0.6721 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.5597, allocations: 171.4 kB / 0.6723 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.5601, allocations: 167.5 kB / 0.6725 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.67e-05/0.5601, allocations: 12 kB / 0.6725 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.563, allocations: 1.084 MB / 0.6735 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5631, allocations: 43.83 kB / 0.6736 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001742/0.5633, allocations: 107.5 kB / 0.6737 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.5656, allocations: 0.8542 MB / 0.6745 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5656, allocations: 4 kB / 0.6745 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5656, allocations: 3.938 kB / 0.6745 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5656, allocations: 0 / 0.6745 GB, free: 11.73 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.001566/0.5672, allocations: 0.6892 MB / 0.6752 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.5673, allocations: 15.97 kB / 0.6752 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.159e-05/0.5673, allocations: 62.72 kB / 0.6753 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/0.5748, allocations: 0.5937 MB / 0.6758 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.5754, allocations: 267.2 kB / 0.6761 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.5756, allocations: 127.4 kB / 0.6762 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5757, allocations: 20 kB / 0.6762 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.5771, allocations: 0.5595 MB / 0.6768 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.5771, allocations: 7.938 kB / 0.6768 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.5772, allocations: 12 kB / 0.6768 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.5772, allocations: 8 kB / 0.6768 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.5788, allocations: 0.6299 MB / 0.6774 GB, free: 8.582 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.002497/0.5813, allocations: 1.71 MB / 0.6791 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.5817, allocations: 154.5 kB / 0.6792 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.5819, allocations: 72.78 kB / 0.6793 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/0.5834, allocations: 1.471 MB / 0.6807 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5835, allocations: 30.56 kB / 0.6808 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.5835, allocations: 4 kB / 0.6808 GB, free: 4.711 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.001071/0.5846, allocations: 327.9 kB / 0.6811 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.5846, allocations: 59.33 kB / 0.6812 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.5848, allocations: 190.5 kB / 0.6813 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5849, allocations: 29.7 kB / 0.6814 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.585, allocations: 187.8 kB / 0.6815 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5851, allocations: 75.36 kB / 0.6816 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5853, allocations: 93.97 kB / 0.6817 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5855, allocations: 326.8 kB / 0.682 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.5856, allocations: 68.7 kB / 0.6821 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.5859, allocations: 275.8 kB / 0.6823 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.5865, allocations: 361.5 kB / 0.6827 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5865, allocations: 4 kB / 0.6827 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000711/0.5872, allocations: 368.7 kB / 0.683 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5872, allocations: 12.92 kB / 0.6831 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5873, allocations: 4 kB / 0.6831 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.5873, allocations: 16 kB / 0.6831 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.5877, allocations: 127.8 kB / 0.6832 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004263/0.5882, allocations: 0.6015 MB / 0.6838 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.5884, allocations: 39.73 kB / 0.6838 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.5885, allocations: 40 kB / 0.6839 GB, free: 1.289 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.0001592/0.5887, allocations: 157.7 kB / 0.684 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.5887, allocations: 19.84 kB / 0.684 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009109/0.5897, allocations: 456 kB / 0.6845 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5897, allocations: 0 / 0.6845 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5897, allocations: 0 / 0.6845 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5897, allocations: 0 / 0.6845 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5907, allocations: 0.6469 MB / 0.6851 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5907, allocations: 0 / 0.6851 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.591, allocations: 55.97 kB / 0.6851 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.591, allocations: 0 / 0.6851 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.591, allocations: 19.92 kB / 0.6852 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000378/0.5914, allocations: 0.5979 MB / 0.6858 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5914, allocations: 3.938 kB / 0.6858 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.5919, allocations: 312.7 kB / 0.6861 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.592, allocations: 104.9 kB / 0.6862 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.5921, allocations: 8 kB / 0.6862 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.5923, allocations: 15.98 kB / 0.6862 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.5924, allocations: 19.92 kB / 0.6862 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.5924, allocations: 20 kB / 0.6862 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001418/0.5926, allocations: 135.6 kB / 0.6863 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5926, allocations: 0 / 0.6863 GB, free: 14.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006858/0.5933, allocations: 167.6 kB / 0.6865 GB, free: 14.37 MB / 0.545 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.001402/0.5947, allocations: 0.9931 MB / 0.6875 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005708/0.5953, allocations: 225.3 kB / 0.6877 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.5953, allocations: 8 kB / 0.6877 GB, free: 13.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.5955, allocations: 84.52 kB / 0.6878 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.5961, allocations: 72.08 kB / 0.6878 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.6005, allocations: 3.007 MB / 0.6908 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.6009, allocations: 0.7284 MB / 0.6915 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.6016, allocations: 387.1 kB / 0.6919 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.6018, allocations: 87.38 kB / 0.6919 GB, free: 8.43 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.6018, allocations: 0 / 0.6919 GB, free: 8.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.6349, allocations: 7.867 MB / 0.6996 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.27, allocations: 0 / 0.6996 GB, free: 0.6953 MB / 0.545 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches