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.001072/0.001072, 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.78/1.78, allocations: 205.3 MB / 213.7 MB, free: 1.676 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.0008932/0.000893, allocations: 95.97 kB / 261.8 MB, free: 1.613 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.2649/0.2649, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.273e-05/1.275e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 58.85 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.587/1.727, allocations: 0.6183 GB / 1.084 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.727, allocations: 100.4 kB / 1.084 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.217/2.944, allocations: 226.3 MB / 1.305 GB, free: 94.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.262e-06/2.944, allocations: 0.9844 kB / 1.305 GB, free: 94.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001391/2.944, allocations: 23.11 kB / 1.305 GB, free: 94.26 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005034/2.949, allocations: 1.148 MB / 1.306 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/2.949, allocations: 8.406 kB / 1.306 GB, free: 93.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/2.951, allocations: 139.1 kB / 1.307 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/2.952, allocations: 0.54 MB / 1.307 GB, free: 93.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/2.952, allocations: 88.05 kB / 1.307 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/2.952, allocations: 28 kB / 1.307 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/2.954, allocations: 0.5288 MB / 1.308 GB, free: 93.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/2.955, allocations: 0.7296 MB / 1.308 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/2.955, allocations: 3.625 kB / 1.308 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.967e-05/2.955, allocations: 4.125 kB / 1.308 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.667e-05/2.955, allocations: 41.27 kB / 1.308 GB, free: 93.31 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.004826/2.96, allocations: 3.887 MB / 1.312 GB, free: 90.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006619/2.961, allocations: 253.7 kB / 1.313 GB, free: 90.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/2.961, allocations: 131.6 kB / 1.313 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.69e-05/2.961, allocations: 27.05 kB / 1.313 GB, free: 90.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/2.961, allocations: 39.77 kB / 1.313 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.206e-06/2.961, allocations: 0 / 1.313 GB, free: 90.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005867/2.967, allocations: 1.451 MB / 1.314 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/2.967, allocations: 135.2 kB / 1.314 GB, free: 90.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/2.968, allocations: 462.6 kB / 1.315 GB, free: 89.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/2.968, allocations: 27.08 kB / 1.315 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/2.968, allocations: 394.5 kB / 1.315 GB, free: 89.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/2.969, allocations: 120.4 kB / 1.315 GB, free: 89.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/2.969, allocations: 0 / 1.315 GB, free: 89.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001745/2.969, allocations: 369.8 kB / 1.316 GB, free: 89.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/2.969, allocations: 180.3 kB / 1.316 GB, free: 89.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/2.97, allocations: 492.6 kB / 1.316 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/2.97, allocations: 320.5 kB / 1.317 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/2.97, allocations: 3.125 kB / 1.317 GB, free: 88.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001558/2.972, allocations: 0.8157 MB / 1.317 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/2.972, allocations: 8.688 kB / 1.317 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/2.972, allocations: 11.41 kB / 1.317 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/2.973, allocations: 283.5 kB / 1.318 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/2.973, allocations: 123.4 kB / 1.318 GB, free: 88.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/2.975, allocations: 0.9442 MB / 1.319 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/2.975, allocations: 32.75 kB / 1.319 GB, free: 88.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/2.975, allocations: 72.64 kB / 1.319 GB, free: 88.34 MB / 0.4948 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.0002081/2.976, allocations: 135.3 kB / 1.319 GB, free: 88.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/2.976, allocations: 61.41 kB / 1.319 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/2.977, allocations: 0.5066 MB / 1.319 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/2.977, allocations: 8.578 kB / 1.319 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/2.977, allocations: 0 / 1.319 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/2.977, allocations: 7.641 kB / 1.319 GB, free: 88.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/2.98, allocations: 0.9809 MB / 1.32 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/2.98, allocations: 3.625 kB / 1.32 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/2.981, allocations: 196.9 kB / 1.321 GB, free: 87.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001271/2.981, allocations: 29.34 kB / 1.321 GB, free: 87.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-05/2.981, allocations: 11.84 kB / 1.321 GB, free: 87.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/2.984, allocations: 2.587 MB / 1.323 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/2.984, allocations: 0 / 1.323 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/2.985, allocations: 0.6861 MB / 1.324 GB, free: 85.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/2.985, allocations: 175.8 kB / 1.324 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.806e-05/2.985, allocations: 3.938 kB / 1.324 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/2.986, allocations: 16.41 kB / 1.324 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/2.986, allocations: 34.88 kB / 1.324 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/2.986, allocations: 41.98 kB / 1.324 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005836/2.986, allocations: 338.6 kB / 1.324 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.72e-07/2.986, allocations: 0 / 1.324 GB, free: 84.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00211/2.988, allocations: 343.7 kB / 1.325 GB, free: 84.99 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (34): * Single equations (assignments): 32 * 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.002461/2.991, allocations: 1.19 MB / 1.326 GB, free: 84.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001028/2.992, allocations: 492.3 kB / 1.326 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/2.992, allocations: 0 / 1.326 GB, free: 84.77 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007338/2.993, allocations: 361.9 kB / 1.327 GB, free: 84.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/2.994, allocations: 243 kB / 1.327 GB, free: 84.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/2.996, allocations: 0.8728 MB / 1.328 GB, free: 84.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/2.996, allocations: 0.9393 MB / 1.329 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008817/2.997, allocations: 246.6 kB / 1.329 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/2.997, allocations: 96.2 kB / 1.329 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/2.997, allocations: 0 / 1.329 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.02774/3.025, allocations: 18.43 MB / 1.347 GB, free: 83.21 MB / 0.4948 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