Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002165/0.002164, 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 2.048/2.048, 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.001576/0.001576, allocations: 96.53 kB / 262.1 MB, free: 13.87 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.2945/0.2945, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.496e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 58.86 MB / 477.1 MB, free: 5.25 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.964/2.359, allocations: 0.7263 GB / 1.192 GB, free: 9.035 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/2.359, allocations: 79.14 kB / 1.192 GB, free: 8.992 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.4152/2.775, allocations: 32.89 MB / 1.224 GB, free: 177.1 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.473e-06/2.775, allocations: 1.344 kB / 1.224 GB, free: 177.1 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.436e-05/2.775, allocations: 1 kB / 1.224 GB, free: 177.1 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000618/2.775, allocations: 408.5 kB / 1.225 GB, free: 176.7 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.775, allocations: 9.031 kB / 1.225 GB, free: 176.7 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/2.778, allocations: 183.7 kB / 1.225 GB, free: 176.6 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/2.779, allocations: 205.4 kB / 1.225 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/2.779, allocations: 2.594 kB / 1.225 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.996e-05/2.779, allocations: 9.406 kB / 1.225 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005922/2.779, allocations: 197.5 kB / 1.225 GB, free: 176.4 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/2.78, allocations: 144.8 kB / 1.226 GB, free: 176.3 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.78, allocations: 5.172 kB / 1.226 GB, free: 176.3 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/2.78, allocations: 3.938 kB / 1.226 GB, free: 176.3 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/2.78, allocations: 2.219 kB / 1.226 GB, free: 176.3 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.001911/2.782, allocations: 0.5916 MB / 1.226 GB, free: 175.8 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/2.782, allocations: 147.5 kB / 1.226 GB, free: 175.8 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/2.782, allocations: 67.27 kB / 1.226 GB, free: 175.7 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/2.782, allocations: 92.83 kB / 1.226 GB, free: 175.6 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/2.782, allocations: 35.41 kB / 1.226 GB, free: 175.6 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/2.782, allocations: 0 / 1.226 GB, free: 175.6 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.006511/2.789, allocations: 1.014 MB / 1.227 GB, free: 174.9 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/2.789, allocations: 58.27 kB / 1.227 GB, free: 174.9 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.505e-05/2.789, allocations: 101.1 kB / 1.228 GB, free: 174.8 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/2.789, allocations: 26.92 kB / 1.228 GB, free: 174.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/2.789, allocations: 176.6 kB / 1.228 GB, free: 174.6 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/2.789, allocations: 58.42 kB / 1.228 GB, free: 174.5 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/2.789, allocations: 0 / 1.228 GB, free: 174.5 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.304e-05/2.789, allocations: 326.3 kB / 1.228 GB, free: 174.2 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/2.79, allocations: 65.81 kB / 1.228 GB, free: 174.2 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/2.79, allocations: 113 kB / 1.228 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/2.79, allocations: 79.38 kB / 1.228 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/2.79, allocations: 0 / 1.228 GB, free: 174.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006431/2.791, allocations: 234.5 kB / 1.229 GB, free: 173.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/2.791, allocations: 5.406 kB / 1.229 GB, free: 173.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.791, allocations: 5 kB / 1.229 GB, free: 173.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/2.791, allocations: 22.98 kB / 1.229 GB, free: 173.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/2.792, allocations: 55.08 kB / 1.229 GB, free: 173.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003347/2.792, allocations: 0.5412 MB / 1.229 GB, free: 173.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/2.792, allocations: 7.938 kB / 1.229 GB, free: 173.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/2.792, allocations: 9.844 kB / 1.229 GB, free: 173.4 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001094/2.792, allocations: 110.3 kB / 1.229 GB, free: 173.3 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/2.793, allocations: 9.469 kB / 1.229 GB, free: 173.3 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007858/2.793, allocations: 255.1 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/2.793, allocations: 10.86 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.793, allocations: 0 / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.793, allocations: 1.5 kB / 1.23 GB, free: 173.2 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/2.795, allocations: 0.588 MB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/2.795, allocations: 1.125 kB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/2.795, allocations: 55 kB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/2.795, allocations: 21.83 kB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/2.796, allocations: 6.125 kB / 1.23 GB, free: 172.7 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007594/2.796, allocations: 1.218 MB / 1.231 GB, free: 171.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.796, allocations: 0 / 1.231 GB, free: 171.5 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/2.797, allocations: 430.4 kB / 1.232 GB, free: 171.1 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/2.797, allocations: 81.02 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/2.797, allocations: 7.922 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/2.798, allocations: 11.52 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/2.798, allocations: 13.53 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/2.798, allocations: 12.62 kB / 1.232 GB, free: 171 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 4.38e-05/2.798, allocations: 92.38 kB / 1.232 GB, free: 170.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 3.91e-07/2.798, allocations: 0 / 1.232 GB, free: 170.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0008949/2.799, allocations: 154.2 kB / 1.232 GB, free: 170.9 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/2.8, allocations: 0.7008 MB / 1.233 GB, free: 170.7 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005473/2.801, allocations: 184.5 kB / 1.233 GB, free: 170.6 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/2.801, allocations: 0 / 1.233 GB, free: 170.6 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/2.801, allocations: 209.2 kB / 1.233 GB, free: 170.5 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/2.802, allocations: 45.73 kB / 1.233 GB, free: 170.4 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/2.802, allocations: 329.3 kB / 1.234 GB, free: 170.2 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/2.803, allocations: 0.7191 MB / 1.234 GB, free: 169.5 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/2.803, allocations: 22.66 kB / 1.234 GB, free: 169.5 MB / 0.4952 GB Notification: Performance of SimCode: time 6.72e-07/2.803, allocations: 3.938 kB / 1.234 GB, free: 169.5 MB / 0.4952 GB Notification: Performance of Templates: time 0.01437/2.817, allocations: 7.366 MB / 1.242 GB, free: 166.5 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches