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.001126/0.001126, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001495/0.001495, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2734/0.2734, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 60.81 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1706/0.5429, allocations: 150.2 MB / 0.6651 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006683/0.5496, allocations: 5.31 MB / 0.6703 GB, free: 72 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.5498, allocations: 4 kB / 0.6703 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.5502, allocations: 51.61 kB / 0.6703 GB, free: 16 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003806/0.554, allocations: 1.329 MB / 0.6716 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.5544, allocations: 135.5 kB / 0.6717 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.5551, allocations: 402 kB / 0.6721 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.5551, allocations: 16.36 kB / 0.6721 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.5555, allocations: 159.4 kB / 0.6723 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.5559, allocations: 175.4 kB / 0.6725 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.5559, allocations: 8 kB / 0.6725 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.5585, allocations: 1.08 MB / 0.6735 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.5586, allocations: 51.75 kB / 0.6736 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.5588, allocations: 107.5 kB / 0.6737 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.5609, allocations: 0.8581 MB / 0.6745 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5609, allocations: 0 / 0.6745 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5609, allocations: 0 / 0.6745 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.5609, allocations: 0 / 0.6745 GB, free: 11.71 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.001711/0.5626, allocations: 0.6958 MB / 0.6752 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5627, allocations: 16.03 kB / 0.6752 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.5628, allocations: 58.73 kB / 0.6753 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007794/0.5706, allocations: 0.5898 MB / 0.6758 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.5713, allocations: 271.2 kB / 0.6761 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.5714, allocations: 123.4 kB / 0.6762 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.5716, allocations: 20 kB / 0.6762 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.573, allocations: 0.5633 MB / 0.6768 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.573, allocations: 0 / 0.6768 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/0.5731, allocations: 12 kB / 0.6768 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.5731, allocations: 7.984 kB / 0.6768 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.5748, allocations: 0.6299 MB / 0.6774 GB, free: 8.578 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.002583/0.5774, allocations: 1.71 MB / 0.6791 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.5778, allocations: 162.4 kB / 0.6792 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.578, allocations: 80.83 kB / 0.6793 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.5795, allocations: 1.463 MB / 0.6808 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.5796, allocations: 38.56 kB / 0.6808 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.5796, allocations: 0 / 0.6808 GB, free: 4.695 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.001069/0.5807, allocations: 325.5 kB / 0.6811 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.5807, allocations: 51.41 kB / 0.6812 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.5809, allocations: 190.5 kB / 0.6813 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.581, allocations: 33.7 kB / 0.6814 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5812, allocations: 187.8 kB / 0.6815 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.171e-05/0.5812, allocations: 75.38 kB / 0.6816 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5814, allocations: 97.95 kB / 0.6817 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5815, allocations: 326.8 kB / 0.682 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.5817, allocations: 64.7 kB / 0.6821 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.582, allocations: 267.8 kB / 0.6823 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/0.5826, allocations: 366.2 kB / 0.6827 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5826, allocations: 4 kB / 0.6827 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007496/0.5834, allocations: 372.3 kB / 0.683 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5834, allocations: 8 kB / 0.6831 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5835, allocations: 8 kB / 0.6831 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5835, allocations: 8 kB / 0.6831 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.5839, allocations: 123.8 kB / 0.6832 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004062/0.5843, allocations: 0.6138 MB / 0.6838 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.5846, allocations: 35.73 kB / 0.6838 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.5847, allocations: 43.98 kB / 0.6839 GB, free: 1.277 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.0001457/0.5848, allocations: 141.7 kB / 0.684 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.585, allocations: 19.84 kB / 0.684 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008355/0.5858, allocations: 468 kB / 0.6845 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5858, allocations: 4 kB / 0.6845 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5859, allocations: 4 kB / 0.6845 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5859, allocations: 0 / 0.6845 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.5869, allocations: 0.6431 MB / 0.6851 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.5869, allocations: 4 kB / 0.6851 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.5871, allocations: 63.91 kB / 0.6852 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5871, allocations: 4 kB / 0.6852 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.5872, allocations: 7.938 kB / 0.6852 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.5875, allocations: 0.5938 MB / 0.6858 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5875, allocations: 4.219 kB / 0.6858 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.5879, allocations: 306.1 kB / 0.6861 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.588, allocations: 108.9 kB / 0.6862 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.5881, allocations: 4 kB / 0.6862 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.5883, allocations: 11.98 kB / 0.6862 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.5884, allocations: 19.92 kB / 0.6862 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5884, allocations: 19.98 kB / 0.6862 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001318/0.5886, allocations: 143.6 kB / 0.6863 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5886, allocations: 0 / 0.6863 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006988/0.5893, allocations: 167.6 kB / 0.6865 GB, free: 14.36 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.001234/0.5905, allocations: 0.9951 MB / 0.6875 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.5911, allocations: 235.7 kB / 0.6877 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5911, allocations: 0 / 0.6877 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.5913, allocations: 81.33 kB / 0.6878 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.5919, allocations: 68.17 kB / 0.6878 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/0.5959, allocations: 3.018 MB / 0.6908 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.5962, allocations: 0.7207 MB / 0.6915 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006564/0.5969, allocations: 383.2 kB / 0.6919 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.5971, allocations: 99.3 kB / 0.692 GB, free: 8.41 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.5971, allocations: 4 kB / 0.692 GB, free: 8.406 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.6272, allocations: 7.861 MB / 0.6996 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.86, allocations: 4.062 kB / 0.6996 GB, free: 0.6797 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