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.001433/0.001433, allocations: 113.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.001535/0.001535, allocations: 188.9 kB / 18.71 MB, free: 4.34 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.429/1.429, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2155/0.2155, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.398, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1714/0.5695, allocations: 150.1 MB / 0.6651 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006814/0.5764, allocations: 5.318 MB / 0.6703 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.5766, allocations: 0 / 0.6703 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.5771, allocations: 55.59 kB / 0.6703 GB, free: 40 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005104/0.5823, allocations: 1.32 MB / 0.6716 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.5828, allocations: 135.4 kB / 0.6717 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.5837, allocations: 402.2 kB / 0.6721 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.232e-05/0.5838, allocations: 13.62 kB / 0.6721 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.5842, allocations: 163.4 kB / 0.6723 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.5846, allocations: 171.5 kB / 0.6725 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.5847, allocations: 8 kB / 0.6725 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.5874, allocations: 1.088 MB / 0.6735 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5876, allocations: 43.81 kB / 0.6736 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.5877, allocations: 111.5 kB / 0.6737 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.5901, allocations: 0.8538 MB / 0.6745 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5901, allocations: 0 / 0.6745 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5901, allocations: 4 kB / 0.6745 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5901, allocations: 0 / 0.6745 GB, free: 11.75 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.001685/0.5918, allocations: 0.6749 MB / 0.6752 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5919, allocations: 15.97 kB / 0.6752 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.5919, allocations: 58.73 kB / 0.6752 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007511/0.5995, allocations: 0.5897 MB / 0.6758 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.6001, allocations: 263.2 kB / 0.6761 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.6002, allocations: 123.4 kB / 0.6762 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6004, allocations: 20 kB / 0.6762 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.6016, allocations: 0.5712 MB / 0.6768 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6016, allocations: 3.938 kB / 0.6768 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.6017, allocations: 12 kB / 0.6768 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.6018, allocations: 4 kB / 0.6768 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6032, allocations: 0.626 MB / 0.6774 GB, free: 8.633 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.002308/0.6056, allocations: 1.717 MB / 0.6791 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.6059, allocations: 162.4 kB / 0.6792 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6061, allocations: 80.84 kB / 0.6793 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.6075, allocations: 1.463 MB / 0.6807 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6075, allocations: 34.73 kB / 0.6808 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.664e-06/0.6075, allocations: 0 / 0.6808 GB, free: 4.746 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.0009777/0.6085, allocations: 331.4 kB / 0.6811 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6085, allocations: 59.28 kB / 0.6811 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.6087, allocations: 190.5 kB / 0.6813 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6087, allocations: 33.7 kB / 0.6814 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6089, allocations: 179.3 kB / 0.6815 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.588e-05/0.6089, allocations: 75 kB / 0.6816 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.6091, allocations: 89.97 kB / 0.6817 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6092, allocations: 326.8 kB / 0.682 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.6094, allocations: 68.7 kB / 0.6821 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.6096, allocations: 267.8 kB / 0.6823 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.6101, allocations: 366.2 kB / 0.6827 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6101, allocations: 0 / 0.6827 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000628/0.6107, allocations: 372.7 kB / 0.683 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.6108, allocations: 12.03 kB / 0.683 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6108, allocations: 8 kB / 0.683 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6108, allocations: 8 kB / 0.683 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.6112, allocations: 123.8 kB / 0.6832 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000365/0.6116, allocations: 0.6055 MB / 0.6838 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.6118, allocations: 43.53 kB / 0.6838 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.6119, allocations: 44.08 kB / 0.6838 GB, free: 1.332 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.0001421/0.6121, allocations: 145.7 kB / 0.684 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.6121, allocations: 19.75 kB / 0.684 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.613, allocations: 456 kB / 0.6844 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.613, allocations: 0 / 0.6844 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.613, allocations: 0 / 0.6844 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.613, allocations: 7.984 kB / 0.6844 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008798/0.6139, allocations: 0.6352 MB / 0.6851 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6139, allocations: 4 kB / 0.6851 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.6141, allocations: 59.97 kB / 0.6851 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6141, allocations: 4.25 kB / 0.6851 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.6142, allocations: 8 kB / 0.6851 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003036/0.6145, allocations: 0.6015 MB / 0.6857 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6145, allocations: 7.938 kB / 0.6857 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.6148, allocations: 298.2 kB / 0.686 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.615, allocations: 112.8 kB / 0.6861 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.615, allocations: 11.91 kB / 0.6861 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.6153, allocations: 11.98 kB / 0.6861 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.6153, allocations: 19.92 kB / 0.6862 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.6154, allocations: 19.98 kB / 0.6862 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000118/0.6155, allocations: 139.6 kB / 0.6863 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6155, allocations: 0 / 0.6863 GB, free: 14.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006473/0.6161, allocations: 159.9 kB / 0.6865 GB, free: 14.43 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.001244/0.6174, allocations: 0.9955 MB / 0.6874 GB, free: 13.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.6179, allocations: 228.8 kB / 0.6877 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.618, allocations: 128 / 0.6877 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.6182, allocations: 87.83 kB / 0.6877 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.6188, allocations: 60.55 kB / 0.6878 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.6229, allocations: 3.018 MB / 0.6907 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.6233, allocations: 0.7245 MB / 0.6915 GB, free: 8.957 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006308/0.6239, allocations: 375.2 kB / 0.6918 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.6241, allocations: 99.36 kB / 0.6919 GB, free: 8.492 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.6241, allocations: 0 / 0.6919 GB, free: 8.492 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.6549, allocations: 7.915 MB / 0.6996 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.1, allocations: 5.094 kB / 0.6996 GB, free: 0.7031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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