Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001514, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009228, allocations: 90.59 kB / 267 MB, free: 9.281 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.3404/0.3404, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.896e-05, allocations: 3.984 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.377, allocations: 0.6189 GB / 1.092 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.377, allocations: 102.3 kB / 1.092 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9368/2.314, allocations: 228.9 MB / 1.315 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/2.314, allocations: 0 / 1.315 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.45e-05/2.314, allocations: 18.62 kB / 1.315 GB, free: 92.94 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002598/2.317, allocations: 1.156 MB / 1.317 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/2.317, allocations: 10.44 kB / 1.317 GB, free: 92.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007039/2.317, allocations: 134.8 kB / 1.317 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008615/2.318, allocations: 0.5389 MB / 1.317 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/2.318, allocations: 105.4 kB / 1.317 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.702e-05/2.318, allocations: 50.92 kB / 1.317 GB, free: 92.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009894/2.319, allocations: 0.7981 MB / 1.318 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/2.32, allocations: 8.938 kB / 1.318 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/2.32, allocations: 25.61 kB / 1.318 GB, free: 92.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/2.32, allocations: 34.23 kB / 1.318 GB, free: 92.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/2.32, allocations: 0.6049 MB / 1.319 GB, free: 92.01 MB / 0.5105 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.003413/2.324, allocations: 3.93 MB / 1.323 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/2.324, allocations: 329.8 kB / 1.323 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/2.325, allocations: 164.8 kB / 1.323 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.855e-05/2.325, allocations: 26.67 kB / 1.323 GB, free: 89.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/2.325, allocations: 42.72 kB / 1.323 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 2.404e-06/2.325, allocations: 0 / 1.323 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.004767/2.329, allocations: 1.51 MB / 1.325 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/2.33, allocations: 132.4 kB / 1.325 GB, free: 88.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/2.33, allocations: 0.5331 MB / 1.325 GB, free: 88.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/2.33, allocations: 35.7 kB / 1.325 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/2.33, allocations: 367.5 kB / 1.326 GB, free: 88.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/2.33, allocations: 144.2 kB / 1.326 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/2.331, allocations: 14.62 kB / 1.326 GB, free: 88.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001012/2.331, allocations: 381.2 kB / 1.326 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/2.331, allocations: 192.3 kB / 1.326 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000399/2.331, allocations: 0.4948 MB / 1.327 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/2.332, allocations: 295.7 kB / 1.327 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/2.332, allocations: 3 kB / 1.327 GB, free: 87.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001149/2.333, allocations: 0.8557 MB / 1.328 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/2.333, allocations: 8.938 kB / 1.328 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/2.333, allocations: 9.719 kB / 1.328 GB, free: 87.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/2.334, allocations: 311.7 kB / 1.328 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/2.335, allocations: 125.2 kB / 1.328 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/2.335, allocations: 0.9225 MB / 1.329 GB, free: 87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/2.336, allocations: 45.47 kB / 1.329 GB, free: 87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/2.336, allocations: 66.81 kB / 1.329 GB, free: 87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001449/2.336, allocations: 158.5 kB / 1.33 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/2.336, allocations: 69.44 kB / 1.33 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/2.338, allocations: 0.6658 MB / 1.33 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.338, allocations: 3.188 kB / 1.33 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/2.338, allocations: 0 / 1.33 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/2.338, allocations: 4.969 kB / 1.33 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/2.339, allocations: 1.26 MB / 1.332 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/2.339, allocations: 0 / 1.332 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009325/2.34, allocations: 207.4 kB / 1.332 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.67e-05/2.34, allocations: 26.53 kB / 1.332 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/2.34, allocations: 17.44 kB / 1.332 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/2.342, allocations: 2.676 MB / 1.334 GB, free: 83.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.342, allocations: 0 / 1.334 GB, free: 83.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009276/2.343, allocations: 0.8332 MB / 1.335 GB, free: 83.49 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/2.343, allocations: 190.5 kB / 1.335 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/2.343, allocations: 6.719 kB / 1.335 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/2.343, allocations: 25.27 kB / 1.335 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/2.343, allocations: 43.02 kB / 1.335 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/2.344, allocations: 42.72 kB / 1.335 GB, free: 83.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000435/2.344, allocations: 421.4 kB / 1.336 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/2.344, allocations: 0 / 1.336 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001422/2.345, allocations: 385.7 kB / 1.336 GB, free: 83.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 1 * 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: 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.001877/2.347, allocations: 1.052 MB / 1.337 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001008/2.348, allocations: 0.5294 MB / 1.338 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/2.348, allocations: 3.875 kB / 1.338 GB, free: 83.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/2.349, allocations: 405.3 kB / 1.338 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/2.351, allocations: 331.6 kB / 1.338 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/2.352, allocations: 0.9276 MB / 1.339 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/2.353, allocations: 0.9449 MB / 1.34 GB, free: 81.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009442/2.354, allocations: 266.2 kB / 1.341 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/2.354, allocations: 98.45 kB / 1.341 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of SimCode: time 6.91e-07/2.354, allocations: 2.734 kB / 1.341 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.04375/2.398, allocations: 29.51 MB / 1.37 GB, free: 81.23 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches