Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002119/0.002118, allocations: 179.4 kB / 8.364 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 2.125/2.125, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001073/0.001073, allocations: 84.91 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.2953/0.2953, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.879e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4097, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/2.238, allocations: 0.5955 GB / 1.061 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/2.238, allocations: 70.06 kB / 1.061 GB, free: 136.5 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.2396/2.478, allocations: 60.33 MB / 1.12 GB, free: 91.44 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.984e-06/2.478, allocations: 0 / 1.12 GB, free: 91.44 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.656e-05/2.478, allocations: 0 / 1.12 GB, free: 91.44 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.001999/2.48, allocations: 0.7051 MB / 1.121 GB, free: 90.69 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/2.48, allocations: 12.03 kB / 1.121 GB, free: 90.68 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/2.492, allocations: 0.581 MB / 1.122 GB, free: 90.09 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/2.493, allocations: 262.7 kB / 1.122 GB, free: 89.8 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/2.493, allocations: 119.4 kB / 1.122 GB, free: 89.66 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/2.493, allocations: 12 kB / 1.122 GB, free: 89.64 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/2.495, allocations: 0.5437 MB / 1.123 GB, free: 89.1 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005981/2.495, allocations: 308.2 kB / 1.123 GB, free: 88.77 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/2.495, allocations: 3.953 kB / 1.123 GB, free: 88.76 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/2.496, allocations: 0 / 1.123 GB, free: 88.76 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/2.496, allocations: 11.94 kB / 1.123 GB, free: 88.75 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.003389/2.499, allocations: 1.911 MB / 1.125 GB, free: 86.66 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/2.501, allocations: 114.5 kB / 1.125 GB, free: 86.54 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/2.501, allocations: 45 kB / 1.125 GB, free: 86.5 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/2.501, allocations: 20.77 kB / 1.125 GB, free: 86.48 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/2.501, allocations: 38.56 kB / 1.125 GB, free: 86.43 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=10): time 3.346e-06/2.501, allocations: 0 / 1.125 GB, free: 86.43 MB / 0.4952 GB Notification: Performance of matching and sorting (n=11): time 0.005594/2.507, allocations: 0.5064 MB / 1.125 GB, free: 85.89 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/2.507, allocations: 51.69 kB / 1.125 GB, free: 85.83 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/2.507, allocations: 189.8 kB / 1.126 GB, free: 85.64 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/2.507, allocations: 25.7 kB / 1.126 GB, free: 85.61 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/2.507, allocations: 281.1 kB / 1.126 GB, free: 85.33 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/2.507, allocations: 43.39 kB / 1.126 GB, free: 85.29 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/2.507, allocations: 0 / 1.126 GB, free: 85.29 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/2.507, allocations: 330.8 kB / 1.126 GB, free: 84.96 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/2.507, allocations: 64.86 kB / 1.126 GB, free: 84.89 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/2.508, allocations: 258 kB / 1.127 GB, free: 84.55 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005949/2.508, allocations: 138.8 kB / 1.127 GB, free: 84.41 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/2.508, allocations: 0 / 1.127 GB, free: 84.41 MB / 0.4952 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001104/2.509, allocations: 369.4 kB / 1.127 GB, free: 84.05 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/2.51, allocations: 8 kB / 1.127 GB, free: 84.04 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/2.51, allocations: 8 kB / 1.127 GB, free: 84.03 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.393e-05/2.51, allocations: 12 kB / 1.127 GB, free: 84.02 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/2.511, allocations: 167.8 kB / 1.127 GB, free: 83.86 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003837/2.511, allocations: 0.6136 MB / 1.128 GB, free: 83.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/2.511, allocations: 11.91 kB / 1.128 GB, free: 83.21 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/2.512, allocations: 59.98 kB / 1.128 GB, free: 83.15 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.0001551/2.512, allocations: 116.8 kB / 1.128 GB, free: 83.03 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/2.512, allocations: 15.81 kB / 1.128 GB, free: 83.01 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/2.513, allocations: 248.3 kB / 1.128 GB, free: 82.77 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/2.513, allocations: 0 / 1.128 GB, free: 82.77 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/2.513, allocations: 7.938 kB / 1.128 GB, free: 82.76 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/2.513, allocations: 4 kB / 1.128 GB, free: 82.75 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/2.514, allocations: 448.6 kB / 1.129 GB, free: 82.27 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/2.514, allocations: 4 kB / 1.129 GB, free: 82.26 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/2.514, allocations: 75.95 kB / 1.129 GB, free: 82.19 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/2.514, allocations: 4 kB / 1.129 GB, free: 82.18 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/2.514, allocations: 7.984 kB / 1.129 GB, free: 82.18 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003129/2.515, allocations: 0.5975 MB / 1.129 GB, free: 81.55 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.515, allocations: 160 / 1.129 GB, free: 81.55 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/2.515, allocations: 272.5 kB / 1.13 GB, free: 81.25 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/2.515, allocations: 112.8 kB / 1.13 GB, free: 81.12 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/2.515, allocations: 0 / 1.13 GB, free: 81.12 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/2.516, allocations: 15.98 kB / 1.13 GB, free: 81.11 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/2.516, allocations: 19.92 kB / 1.13 GB, free: 81.09 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/2.516, allocations: 23.98 kB / 1.13 GB, free: 81.07 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0001559/2.516, allocations: 144.2 kB / 1.13 GB, free: 80.93 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/2.516, allocations: 0 / 1.13 GB, free: 80.93 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00143/2.518, allocations: 259.7 kB / 1.13 GB, free: 80.67 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.001912/2.519, allocations: 0.8317 MB / 1.131 GB, free: 79.84 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0008102/2.52, allocations: 208.2 kB / 1.131 GB, free: 79.63 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/2.52, allocations: 0 / 1.131 GB, free: 79.63 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003127/2.521, allocations: 83.91 kB / 1.131 GB, free: 79.55 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/2.521, allocations: 25.48 kB / 1.131 GB, free: 79.53 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1044/2.626, allocations: 28.13 MB / 1.159 GB, free: 51.23 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/2.626, allocations: 0.7287 MB / 1.16 GB, free: 50.47 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/2.626, allocations: 99.39 kB / 1.16 GB, free: 50.38 MB / 0.4952 GB Notification: Performance of SimCode: time 1.573e-06/2.626, allocations: 0 / 1.16 GB, free: 50.38 MB / 0.4952 GB Notification: Performance of Templates: time 0.02023/2.647, allocations: 9.629 MB / 1.169 GB, free: 40.73 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches