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/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_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_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.001/0.001, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.614/1.614, allocations: 205.3 MB / 213.7 MB, free: 1.723 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008576/0.0008577, allocations: 86.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.618e-05, allocations: 0 / 418.2 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.622, allocations: 496.9 MB / 0.9512 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/1.623, allocations: 75.25 kB / 0.9513 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1207/1.743, allocations: 56.55 MB / 1.006 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.543e-06/1.743, allocations: 0 / 1.006 GB, free: 92.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.744, allocations: 4 kB / 1.006 GB, free: 92.49 MB / 0.4948 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.00143/1.745, allocations: 0.678 MB / 1.007 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.745, allocations: 8.031 kB / 1.007 GB, free: 91.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006727/1.752, allocations: 0.5892 MB / 1.008 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/1.752, allocations: 262.6 kB / 1.008 GB, free: 90.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.934e-05/1.752, allocations: 115.4 kB / 1.008 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/1.752, allocations: 12 kB / 1.008 GB, free: 90.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008206/1.753, allocations: 0.5437 MB / 1.009 GB, free: 90.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/1.754, allocations: 308.2 kB / 1.009 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.754, allocations: 0 / 1.009 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/1.754, allocations: 4 kB / 1.009 GB, free: 89.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/1.754, allocations: 4 kB / 1.009 GB, free: 89.83 MB / 0.4948 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.002289/1.756, allocations: 2.553 MB / 1.011 GB, free: 86.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/1.757, allocations: 126.4 kB / 1.012 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/1.757, allocations: 41 kB / 1.012 GB, free: 86.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/1.757, allocations: 20.77 kB / 1.012 GB, free: 86.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/1.757, allocations: 34.5 kB / 1.012 GB, free: 86.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/1.757, allocations: 0 / 1.012 GB, free: 86.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.002962/1.76, allocations: 0.5104 MB / 1.012 GB, free: 86.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/1.76, allocations: 51.41 kB / 1.012 GB, free: 86.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/1.76, allocations: 181.8 kB / 1.012 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/1.76, allocations: 25.7 kB / 1.012 GB, free: 85.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/1.76, allocations: 214.7 kB / 1.013 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/1.76, allocations: 43.45 kB / 1.013 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/1.76, allocations: 0 / 1.013 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/1.76, allocations: 330.8 kB / 1.013 GB, free: 85.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/1.761, allocations: 60.86 kB / 1.013 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/1.761, allocations: 254.3 kB / 1.013 GB, free: 84.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.762, allocations: 287.5 kB / 1.014 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.762, allocations: 0 / 1.014 GB, free: 84.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001198/1.763, allocations: 0.5123 MB / 1.014 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.763, allocations: 12.19 kB / 1.014 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.763, allocations: 8 kB / 1.014 GB, free: 84.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/1.763, allocations: 11.98 kB / 1.014 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/1.764, allocations: 167.8 kB / 1.014 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002999/1.764, allocations: 0.6016 MB / 1.015 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/1.764, allocations: 15.92 kB / 1.015 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/1.764, allocations: 64.06 kB / 1.015 GB, free: 83.24 MB / 0.4948 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.0001229/1.764, allocations: 116.8 kB / 1.015 GB, free: 83.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/1.764, allocations: 15.81 kB / 1.015 GB, free: 83.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005442/1.765, allocations: 248.1 kB / 1.015 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.765, allocations: 0 / 1.015 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.765, allocations: 3.953 kB / 1.015 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.765, allocations: 0 / 1.015 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/1.765, allocations: 456.6 kB / 1.016 GB, free: 82.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.765, allocations: 4 kB / 1.016 GB, free: 82.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/1.766, allocations: 63.97 kB / 1.016 GB, free: 82.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/1.766, allocations: 3.984 kB / 1.016 GB, free: 82.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/1.766, allocations: 11.95 kB / 1.016 GB, free: 82.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001905/1.766, allocations: 0.5977 MB / 1.016 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.766, allocations: 0 / 1.016 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/1.766, allocations: 272.9 kB / 1.017 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/1.766, allocations: 120.8 kB / 1.017 GB, free: 81.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/1.766, allocations: 4.094 kB / 1.017 GB, free: 81.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/1.767, allocations: 8.094 kB / 1.017 GB, free: 81.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/1.767, allocations: 27.84 kB / 1.017 GB, free: 81.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.767, allocations: 20 kB / 1.017 GB, free: 81.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.23e-05/1.767, allocations: 144.4 kB / 1.017 GB, free: 81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.767, allocations: 0 / 1.017 GB, free: 81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009766/1.768, allocations: 271.8 kB / 1.017 GB, free: 80.74 MB / 0.4948 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.001378/1.769, allocations: 0.8507 MB / 1.018 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004439/1.77, allocations: 205.4 kB / 1.018 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.77, allocations: 0 / 1.018 GB, free: 79.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/1.77, allocations: 75.91 kB / 1.018 GB, free: 79.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.77, allocations: 32.2 kB / 1.018 GB, free: 79.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06052/1.831, allocations: 29.97 MB / 1.048 GB, free: 49.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/1.831, allocations: 0.7327 MB / 1.048 GB, free: 48.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007391/1.832, allocations: 137.9 kB / 1.048 GB, free: 48.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/1.832, allocations: 71.39 kB / 1.048 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/1.832, allocations: 0 / 1.048 GB, free: 48.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.01368/1.845, allocations: 9.446 MB / 1.058 GB, free: 39.05 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/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