Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002199/0.002199, allocations: 179.2 kB / 8.363 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.001146/0.001145, allocations: 100 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.193e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4007, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.571, allocations: 450.7 MB / 0.794 GB, free: 28.58 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.571, allocations: 71.06 kB / 0.794 GB, free: 28.55 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1039/1.675, allocations: 29.29 MB / 0.8226 GB, free: 4.301 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.953e-06/1.675, allocations: 0 / 0.8226 GB, free: 4.301 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/1.675, allocations: 0 / 0.8226 GB, free: 4.301 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006512/1.676, allocations: 393.4 kB / 0.823 GB, free: 3.875 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.676, allocations: 8.031 kB / 0.823 GB, free: 3.867 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004099/1.68, allocations: 187.6 kB / 0.8232 GB, free: 3.684 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004438/1.68, allocations: 199 kB / 0.8234 GB, free: 3.449 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/1.68, allocations: 0 / 0.8234 GB, free: 3.449 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/1.68, allocations: 8.219 kB / 0.8234 GB, free: 3.441 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006859/1.681, allocations: 147.9 kB / 0.8235 GB, free: 3.297 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/1.682, allocations: 140.1 kB / 0.8237 GB, free: 3.145 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/1.682, allocations: 0 / 0.8237 GB, free: 3.145 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.437e-05/1.682, allocations: 4 kB / 0.8237 GB, free: 3.141 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/1.682, allocations: 0 / 0.8237 GB, free: 3.141 MB / 427.1 MB 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.001819/1.684, allocations: 0.5453 MB / 0.8242 GB, free: 2.555 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/1.684, allocations: 118.5 kB / 0.8243 GB, free: 2.43 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/1.684, allocations: 64.86 kB / 0.8244 GB, free: 2.363 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/1.684, allocations: 0 / 0.8244 GB, free: 2.363 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.684, allocations: 38.55 kB / 0.8244 GB, free: 2.316 MB / 427.1 MB Notification: Performance of pre-optimization done (n=14): time 4.508e-06/1.684, allocations: 3.984 kB / 0.8244 GB, free: 2.312 MB / 427.1 MB Notification: Performance of matching and sorting (n=19): time 0.008851/1.693, allocations: 0.8889 MB / 0.8253 GB, free: 1.348 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.693, allocations: 59.41 kB / 0.8254 GB, free: 1.277 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/1.694, allocations: 97 kB / 0.8254 GB, free: 1.176 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/1.694, allocations: 29.69 kB / 0.8255 GB, free: 1.141 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/1.694, allocations: 166.3 kB / 0.8256 GB, free: 0.9766 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/1.694, allocations: 59.11 kB / 0.8257 GB, free: 0.918 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/1.694, allocations: 0 / 0.8257 GB, free: 0.918 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/1.694, allocations: 322.8 kB / 0.826 GB, free: 0.5938 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/1.694, allocations: 63.98 kB / 0.8261 GB, free: 0.5312 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.694, allocations: 91.61 kB / 0.8261 GB, free: 440 kB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/1.695, allocations: 72.84 kB / 0.8262 GB, free: 368 kB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.695, allocations: 0 / 0.8262 GB, free: 368 kB / 427.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008526/1.696, allocations: 228.7 kB / 0.8264 GB, free: 132 kB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.696, allocations: 4 kB / 0.8264 GB, free: 128 kB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.696, allocations: 4.094 kB / 0.8264 GB, free: 124 kB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/1.696, allocations: 44.83 kB / 0.8265 GB, free: 76 kB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007599/1.697, allocations: 55.91 kB / 0.8265 GB, free: 20 kB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3787/2.076, allocations: 0.5712 MB / 0.8271 GB, free: 144.2 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/2.076, allocations: 0 / 0.8271 GB, free: 144.2 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/2.076, allocations: 29.03 kB / 0.8271 GB, free: 144.2 MB / 427.1 MB 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.0001801/2.076, allocations: 115.1 kB / 0.8272 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/2.077, allocations: 12.7 kB / 0.8272 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001522/2.078, allocations: 319.1 kB / 0.8275 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/2.078, allocations: 0 / 0.8275 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/2.078, allocations: 0 / 0.8275 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/2.078, allocations: 0 / 0.8275 GB, free: 144.1 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/2.08, allocations: 0.5584 MB / 0.8281 GB, free: 143.8 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/2.08, allocations: 3.609 kB / 0.8281 GB, free: 143.8 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/2.081, allocations: 64.05 kB / 0.8282 GB, free: 143.8 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/2.081, allocations: 20.81 kB / 0.8282 GB, free: 143.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/2.081, allocations: 16.03 kB / 0.8282 GB, free: 143.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/2.082, allocations: 1.22 MB / 0.8294 GB, free: 142.6 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/2.082, allocations: 3.844 kB / 0.8294 GB, free: 142.6 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/2.083, allocations: 437.8 kB / 0.8298 GB, free: 142.3 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/2.083, allocations: 90.67 kB / 0.8299 GB, free: 142.3 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/2.083, allocations: 3.953 kB / 0.8299 GB, free: 142.2 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/2.084, allocations: 7.25 kB / 0.8299 GB, free: 142.2 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/2.084, allocations: 22.09 kB / 0.8299 GB, free: 142.2 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-05/2.084, allocations: 32.88 kB / 0.83 GB, free: 142.2 MB / 427.1 MB Notification: Performance of sorting global known variables: time 6.02e-05/2.084, allocations: 87.7 kB / 0.83 GB, free: 142.2 MB / 427.1 MB Notification: Performance of sort global known variables: time 5.21e-07/2.084, allocations: 0 / 0.83 GB, free: 142.2 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.00107/2.085, allocations: 97.69 kB / 0.8301 GB, free: 142.2 MB / 427.1 MB 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 (21): * Single equations (assignments): 20 * 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.001866/2.087, allocations: 0.6147 MB / 0.8307 GB, free: 142.1 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008892/2.088, allocations: 176.2 kB / 0.8309 GB, free: 142.1 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/2.088, allocations: 0 / 0.8309 GB, free: 142.1 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005044/2.089, allocations: 213.6 kB / 0.8311 GB, free: 142 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008019/2.089, allocations: 45.98 kB / 0.8311 GB, free: 142 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/2.09, allocations: 350.8 kB / 0.8315 GB, free: 141.8 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/2.091, allocations: 0.7075 MB / 0.8322 GB, free: 141.1 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/2.091, allocations: 59.34 kB / 0.8322 GB, free: 141.1 MB / 427.1 MB Notification: Performance of SimCode: time 1.372e-06/2.091, allocations: 0 / 0.8322 GB, free: 141.1 MB / 427.1 MB Notification: Performance of Templates: time 0.02294/2.114, allocations: 6.39 MB / 0.8385 GB, free: 140.7 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches