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.001063/0.001063, allocations: 109.2 kB / 15.98 MB, free: 5.898 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.001003/0.001003, allocations: 192 kB / 16.91 MB, free: 5.746 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.626/1.626, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.223/0.223, allocations: 43.51 MB / 313.6 MB, free: 0.6992 MB / 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.001381/0.001381, allocations: 67.8 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 57.78 MB / 440.1 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4862/0.6123, allocations: 149.2 MB / 0.5755 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005206/0.6175, allocations: 4.711 MB / 0.5801 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.6177, allocations: 0 / 0.5801 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.6181, allocations: 44.25 kB / 0.5802 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004697/0.6229, allocations: 1.414 MB / 0.5816 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.6232, allocations: 142.4 kB / 0.5817 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005401/0.6238, allocations: 393.5 kB / 0.5821 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.962e-05/0.6239, allocations: 19.31 kB / 0.5821 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.6242, allocations: 171.4 kB / 0.5822 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.6245, allocations: 182 kB / 0.5824 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.6245, allocations: 10.84 kB / 0.5824 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.627, allocations: 1.238 MB / 0.5836 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.6271, allocations: 52.23 kB / 0.5837 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.6272, allocations: 111.8 kB / 0.5838 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.6287, allocations: 0.992 MB / 0.5848 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.6288, allocations: 0 / 0.5848 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6288, allocations: 0 / 0.5848 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.6288, allocations: 0 / 0.5848 GB, free: 10.85 MB / 430.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.001317/0.6301, allocations: 0.7158 MB / 0.5855 GB, free: 10.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.6302, allocations: 13.64 kB / 0.5855 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.35e-05/0.6302, allocations: 60.34 kB / 0.5855 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007083/0.6373, allocations: 0.5907 MB / 0.5861 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.6378, allocations: 264.4 kB / 0.5864 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.6379, allocations: 128.4 kB / 0.5865 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.638, allocations: 21.97 kB / 0.5865 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.6391, allocations: 0.5583 MB / 0.5871 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.6391, allocations: 0 / 0.5871 GB, free: 9.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.6392, allocations: 16.47 kB / 0.5871 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6393, allocations: 12.25 kB / 0.5871 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6406, allocations: 0.6253 MB / 0.5877 GB, free: 9.184 MB / 430.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.002051/0.6426, allocations: 1.646 MB / 0.5893 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.643, allocations: 151.8 kB / 0.5894 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.6431, allocations: 78.53 kB / 0.5895 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.645, allocations: 2.09 MB / 0.5916 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.6451, allocations: 30.56 kB / 0.5916 GB, free: 5.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.6451, allocations: 1.844 kB / 0.5916 GB, free: 5.625 MB / 430.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.0009173/0.646, allocations: 346.5 kB / 0.5919 GB, free: 5.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.646, allocations: 51.41 kB / 0.592 GB, free: 5.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6462, allocations: 185.2 kB / 0.5921 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.6462, allocations: 33.38 kB / 0.5922 GB, free: 5.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6463, allocations: 177.1 kB / 0.5923 GB, free: 5.148 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.6464, allocations: 78.69 kB / 0.5924 GB, free: 5.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.6465, allocations: 84.12 kB / 0.5925 GB, free: 5.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6466, allocations: 332.4 kB / 0.5928 GB, free: 4.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.6468, allocations: 67.83 kB / 0.5929 GB, free: 4.727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.6471, allocations: 262.5 kB / 0.5931 GB, free: 4.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.6476, allocations: 363.6 kB / 0.5935 GB, free: 4.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6476, allocations: 0 / 0.5935 GB, free: 4.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005405/0.6481, allocations: 377 kB / 0.5938 GB, free: 4.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.6481, allocations: 8.375 kB / 0.5938 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6482, allocations: 11.95 kB / 0.5939 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6482, allocations: 13.36 kB / 0.5939 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.6485, allocations: 123.8 kB / 0.594 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.6489, allocations: 0.6024 MB / 0.5946 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.6491, allocations: 41.56 kB / 0.5946 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.6492, allocations: 42.78 kB / 0.5947 GB, free: 3.383 MB / 430.1 MB 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.0001361/0.6493, allocations: 148.3 kB / 0.5948 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.6494, allocations: 21.34 kB / 0.5948 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006967/0.6501, allocations: 320.5 kB / 0.5951 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.6501, allocations: 2.562 kB / 0.5951 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6501, allocations: 4 kB / 0.5951 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.6501, allocations: 3.984 kB / 0.5951 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006123/0.6507, allocations: 0.531 MB / 0.5957 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6508, allocations: 2.281 kB / 0.5957 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.651, allocations: 58.52 kB / 0.5957 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.651, allocations: 7 kB / 0.5957 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.651, allocations: 4.406 kB / 0.5957 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002786/0.6513, allocations: 0.5944 MB / 0.5963 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6513, allocations: 11.08 kB / 0.5963 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002938/0.6516, allocations: 272.9 kB / 0.5966 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.6517, allocations: 109.1 kB / 0.5967 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.6517, allocations: 9.875 kB / 0.5967 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.652, allocations: 14.73 kB / 0.5967 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.652, allocations: 17.2 kB / 0.5967 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.6521, allocations: 22.03 kB / 0.5967 GB, free: 1.719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.6522, allocations: 135.5 kB / 0.5969 GB, free: 1.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6522, allocations: 2.094 kB / 0.5969 GB, free: 1.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.6529, allocations: 199.2 kB / 0.5971 GB, free: 1.598 MB / 430.1 MB 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.00128/0.6541, allocations: 1.048 MB / 0.5981 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.6546, allocations: 232.7 kB / 0.5983 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6546, allocations: 7.125 kB / 0.5983 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.6548, allocations: 79.55 kB / 0.5984 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.6554, allocations: 74.22 kB / 0.5985 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.6599, allocations: 4.186 MB / 0.6025 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.6601, allocations: 0.7257 MB / 0.6033 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005097/0.6606, allocations: 99.56 kB / 0.6034 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.6608, allocations: 73.17 kB / 0.6034 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.833e-06/0.6608, allocations: 0 / 0.6034 GB, free: 13.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05152/0.7123, allocations: 8.705 MB / 0.6119 GB, free: 8.074 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.7127, allocations: 258.4 kB / 0.6122 GB, free: 7.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.817, allocations: 0 / 0.6122 GB, free: 7.723 MB / 446.1 MB (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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches