Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 86.77 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3032/0.3032, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.598e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4009, allocations: 58.84 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.367/1.768, allocations: 496.9 MB / 0.9512 GB, free: 63.09 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.768, allocations: 71.47 kB / 0.9512 GB, free: 63.05 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.2579/2.026, allocations: 56.55 MB / 1.006 GB, free: 13.68 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.442e-06/2.026, allocations: 0 / 1.006 GB, free: 13.68 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.508e-05/2.026, allocations: 4 kB / 1.006 GB, free: 13.68 MB / 0.4952 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.001753/2.028, allocations: 0.6741 MB / 1.007 GB, free: 12.96 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.028, allocations: 8.031 kB / 1.007 GB, free: 12.95 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/2.04, allocations: 0.5887 MB / 1.008 GB, free: 12.36 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/2.041, allocations: 262.6 kB / 1.008 GB, free: 12.06 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/2.041, allocations: 115.4 kB / 1.008 GB, free: 11.93 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/2.041, allocations: 16 kB / 1.008 GB, free: 11.91 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001526/2.043, allocations: 0.5437 MB / 1.009 GB, free: 11.37 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/2.043, allocations: 304.2 kB / 1.009 GB, free: 11.04 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/2.043, allocations: 7.938 kB / 1.009 GB, free: 11.03 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/2.043, allocations: 11.98 kB / 1.009 GB, free: 11.02 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/2.043, allocations: 8 kB / 1.009 GB, free: 11.01 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.003694/2.047, allocations: 2.541 MB / 1.011 GB, free: 8.164 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/2.049, allocations: 126.4 kB / 1.012 GB, free: 8.031 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/2.049, allocations: 40.95 kB / 1.012 GB, free: 7.988 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 6.575e-05/2.049, allocations: 24.75 kB / 1.012 GB, free: 7.965 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/2.049, allocations: 38.5 kB / 1.012 GB, free: 7.918 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/2.049, allocations: 0 / 1.012 GB, free: 7.918 MB / 0.4952 GB Notification: Performance of matching and sorting (n=11): time 0.005286/2.054, allocations: 0.5026 MB / 1.012 GB, free: 7.387 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/2.054, allocations: 51.41 kB / 1.012 GB, free: 7.324 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/2.055, allocations: 181.8 kB / 1.012 GB, free: 7.141 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/2.055, allocations: 33.64 kB / 1.012 GB, free: 7.102 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/2.055, allocations: 281.1 kB / 1.013 GB, free: 6.824 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/2.055, allocations: 43.45 kB / 1.013 GB, free: 6.781 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/2.055, allocations: 4 kB / 1.013 GB, free: 6.777 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/2.055, allocations: 330.8 kB / 1.013 GB, free: 6.445 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/2.055, allocations: 60.86 kB / 1.013 GB, free: 6.387 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/2.055, allocations: 246.4 kB / 1.013 GB, free: 6.055 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/2.057, allocations: 290.5 kB / 1.014 GB, free: 5.773 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/2.057, allocations: 0 / 1.014 GB, free: 5.773 MB / 0.4952 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002164/2.059, allocations: 0.5127 MB / 1.014 GB, free: 5.254 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/2.059, allocations: 8 kB / 1.014 GB, free: 5.246 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/2.059, allocations: 8 kB / 1.014 GB, free: 5.238 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/2.059, allocations: 8 kB / 1.014 GB, free: 5.23 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009155/2.06, allocations: 171.8 kB / 1.014 GB, free: 5.062 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003308/2.061, allocations: 0.6097 MB / 1.015 GB, free: 4.43 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/2.061, allocations: 8 kB / 1.015 GB, free: 4.422 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/2.061, allocations: 59.92 kB / 1.015 GB, free: 4.363 MB / 0.4952 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/2.061, allocations: 120.8 kB / 1.015 GB, free: 4.238 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/2.061, allocations: 15.81 kB / 1.015 GB, free: 4.223 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/2.062, allocations: 244.2 kB / 1.015 GB, free: 3.969 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/2.062, allocations: 4 kB / 1.015 GB, free: 3.965 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/2.062, allocations: 7.938 kB / 1.015 GB, free: 3.957 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/2.062, allocations: 0 / 1.015 GB, free: 3.957 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/2.063, allocations: 444.7 kB / 1.016 GB, free: 3.473 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/2.063, allocations: 4 kB / 1.016 GB, free: 3.469 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/2.064, allocations: 71.95 kB / 1.016 GB, free: 3.398 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/2.064, allocations: 0 / 1.016 GB, free: 3.398 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/2.064, allocations: 19.88 kB / 1.016 GB, free: 3.379 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002635/2.064, allocations: 0.59 MB / 1.016 GB, free: 2.766 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.064, allocations: 3.984 kB / 1.016 GB, free: 2.762 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/2.064, allocations: 284.6 kB / 1.017 GB, free: 2.449 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/2.065, allocations: 124.7 kB / 1.017 GB, free: 2.309 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/2.065, allocations: 0 / 1.017 GB, free: 2.309 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/2.065, allocations: 4.094 kB / 1.017 GB, free: 2.305 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/2.065, allocations: 19.92 kB / 1.017 GB, free: 2.285 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/2.065, allocations: 23.98 kB / 1.017 GB, free: 2.262 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001311/2.065, allocations: 144.4 kB / 1.017 GB, free: 2.121 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.31e-07/2.065, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00135/2.067, allocations: 271.8 kB / 1.017 GB, free: 1.852 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/2.069, allocations: 0.8438 MB / 1.018 GB, free: 0.9961 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.000757/2.07, allocations: 205.2 kB / 1.018 GB, free: 0.7969 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/2.07, allocations: 320 / 1.018 GB, free: 0.7969 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/2.07, allocations: 83.91 kB / 1.018 GB, free: 0.7148 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/2.07, allocations: 19.98 kB / 1.018 GB, free: 0.6953 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4302/2.501, allocations: 29.99 MB / 1.048 GB, free: 151.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/2.501, allocations: 0.7322 MB / 1.048 GB, free: 150.5 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/2.501, allocations: 89.55 kB / 1.048 GB, free: 150.5 MB / 0.4952 GB Notification: Performance of SimCode: time 1.042e-06/2.501, allocations: 0 / 1.048 GB, free: 150.5 MB / 0.4952 GB Notification: Performance of Templates: time 0.01944/2.521, allocations: 9.743 MB / 1.058 GB, free: 149.6 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches