Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 79.81 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3881, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1977/0.5859, allocations: 153 MB / 0.6801 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006719/0.5927, allocations: 5.322 MB / 0.6853 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.5929, allocations: 8 kB / 0.6853 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.5932, allocations: 51.61 kB / 0.6853 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.5973, allocations: 1.319 MB / 0.6866 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003983/0.5977, allocations: 145.5 kB / 0.6868 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006801/0.5984, allocations: 390.1 kB / 0.6871 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.5985, allocations: 17.67 kB / 0.6872 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.5988, allocations: 171.3 kB / 0.6873 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.5992, allocations: 171.5 kB / 0.6875 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.5992, allocations: 8 kB / 0.6875 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.6023, allocations: 1.092 MB / 0.6886 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.6024, allocations: 47.75 kB / 0.6886 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.6027, allocations: 107.5 kB / 0.6887 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001821/0.6045, allocations: 0.862 MB / 0.6895 GB, free: 14.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6045, allocations: 3.938 kB / 0.6896 GB, free: 14.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6045, allocations: 0 / 0.6896 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.6045, allocations: 0 / 0.6896 GB, free: 14.38 MB / 0.545 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.001395/0.6059, allocations: 0.6931 MB / 0.6902 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.606, allocations: 16.02 kB / 0.6902 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.71e-05/0.6061, allocations: 62.72 kB / 0.6903 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007548/0.6136, allocations: 0.6054 MB / 0.6909 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.6142, allocations: 263.2 kB / 0.6911 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.6143, allocations: 127.4 kB / 0.6913 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.6144, allocations: 23.94 kB / 0.6913 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.6157, allocations: 0.5556 MB / 0.6918 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.6157, allocations: 11.94 kB / 0.6918 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.6158, allocations: 12 kB / 0.6919 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.6158, allocations: 4 kB / 0.6919 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.6173, allocations: 0.6299 MB / 0.6925 GB, free: 11.23 MB / 0.545 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.002347/0.6197, allocations: 1.726 MB / 0.6942 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.6201, allocations: 158.5 kB / 0.6943 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.6202, allocations: 75.05 kB / 0.6944 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.622, allocations: 1.487 MB / 0.6958 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.622, allocations: 30.56 kB / 0.6959 GB, free: 7.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.622, allocations: 4 kB / 0.6959 GB, free: 7.32 MB / 0.545 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.001016/0.6231, allocations: 332.5 kB / 0.6962 GB, free: 6.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.6231, allocations: 51.41 kB / 0.6962 GB, free: 6.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.6233, allocations: 186.5 kB / 0.6964 GB, free: 6.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.6233, allocations: 33.7 kB / 0.6964 GB, free: 6.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.6235, allocations: 187.8 kB / 0.6966 GB, free: 6.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.6235, allocations: 67.42 kB / 0.6967 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.6237, allocations: 98 kB / 0.6968 GB, free: 6.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6239, allocations: 322.8 kB / 0.6971 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.624, allocations: 68.7 kB / 0.6972 GB, free: 5.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.6243, allocations: 264.5 kB / 0.6974 GB, free: 5.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.6248, allocations: 376.2 kB / 0.6978 GB, free: 5.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6248, allocations: 0 / 0.6978 GB, free: 5.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006442/0.6255, allocations: 369 kB / 0.6981 GB, free: 4.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6255, allocations: 14.34 kB / 0.6981 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6255, allocations: 8 kB / 0.6981 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/0.6256, allocations: 8 kB / 0.6981 GB, free: 4.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.626, allocations: 123.8 kB / 0.6983 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00045/0.6265, allocations: 0.6054 MB / 0.6989 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.6267, allocations: 47.62 kB / 0.6989 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-05/0.6268, allocations: 40.09 kB / 0.6989 GB, free: 3.91 MB / 0.545 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.0001663/0.627, allocations: 153.6 kB / 0.6991 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.6271, allocations: 19.84 kB / 0.6991 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000909/0.628, allocations: 460 kB / 0.6995 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.628, allocations: 0 / 0.6995 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.628, allocations: 4 kB / 0.6995 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.628, allocations: 0 / 0.6995 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.629, allocations: 0.6391 MB / 0.7002 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.629, allocations: 4 kB / 0.7002 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.6292, allocations: 59.89 kB / 0.7002 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.6293, allocations: 4 kB / 0.7002 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.6293, allocations: 12.25 kB / 0.7002 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004384/0.6297, allocations: 0.5977 MB / 0.7008 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6297, allocations: 7.938 kB / 0.7008 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004252/0.6302, allocations: 286.4 kB / 0.7011 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.6303, allocations: 120.8 kB / 0.7012 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.6304, allocations: 4 kB / 0.7012 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.6306, allocations: 15.98 kB / 0.7012 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6307, allocations: 11.98 kB / 0.7013 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.6307, allocations: 23.98 kB / 0.7013 GB, free: 1.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001342/0.6309, allocations: 131.6 kB / 0.7014 GB, free: 1.168 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6309, allocations: 0 / 0.7014 GB, free: 1.168 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006862/0.6316, allocations: 175.5 kB / 0.7016 GB, free: 0.9961 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.001301/0.6329, allocations: 1.022 MB / 0.7026 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.6334, allocations: 228.9 kB / 0.7028 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6334, allocations: 0.5 kB / 0.7028 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.6337, allocations: 83.83 kB / 0.7029 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.6342, allocations: 60.55 kB / 0.7029 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.6384, allocations: 3.064 MB / 0.7059 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/0.6388, allocations: 0.7245 MB / 0.7066 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00067/0.6395, allocations: 379.2 kB / 0.707 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.6397, allocations: 91.36 kB / 0.7071 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.6397, allocations: 0 / 0.7071 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.6726, allocations: 7.939 MB / 0.7148 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.7, allocations: 4.891 kB / 0.7148 GB, free: 3.176 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches