Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002148/0.002148, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001092/0.001092, allocations: 74.73 kB / 267.5 MB, free: 14.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2753/0.2753, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.862e-05/3.878e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.883/2.005, allocations: 0.6189 GB / 1.092 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/2.005, allocations: 96.03 kB / 1.092 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.137/3.142, allocations: 228.9 MB / 1.315 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.913e-06/3.142, allocations: 0 / 1.315 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.195e-05/3.142, allocations: 24.12 kB / 1.315 GB, free: 5.797 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.003872/3.146, allocations: 1.154 MB / 1.317 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/3.146, allocations: 8.031 kB / 1.317 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/3.147, allocations: 135.1 kB / 1.317 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/3.149, allocations: 0.5443 MB / 1.317 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/3.149, allocations: 96.41 kB / 1.317 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/3.149, allocations: 51.89 kB / 1.317 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/3.151, allocations: 0.8075 MB / 1.318 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/3.151, allocations: 0 / 1.318 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/3.151, allocations: 23.98 kB / 1.318 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.639e-05/3.151, allocations: 44.92 kB / 1.318 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/3.153, allocations: 0.6011 MB / 1.319 GB, free: 2.164 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.3651/3.518, allocations: 3.923 MB / 1.323 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/3.519, allocations: 330.3 kB / 1.323 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/3.519, allocations: 162.3 kB / 1.323 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/3.52, allocations: 29.94 kB / 1.323 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/3.52, allocations: 38.55 kB / 1.323 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/3.52, allocations: 0 / 1.323 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.009272/3.529, allocations: 1.518 MB / 1.325 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/3.529, allocations: 133.8 kB / 1.325 GB, free: 95.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/3.53, allocations: 0.5369 MB / 1.325 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/3.53, allocations: 34.14 kB / 1.325 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/3.531, allocations: 393.5 kB / 1.326 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/3.531, allocations: 142.6 kB / 1.326 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/3.531, allocations: 14.69 kB / 1.326 GB, free: 95.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001042/3.531, allocations: 342 kB / 1.326 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/3.532, allocations: 188.6 kB / 1.326 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006891/3.532, allocations: 0.503 MB / 1.327 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/3.533, allocations: 288 kB / 1.327 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/3.533, allocations: 2.812 kB / 1.327 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002132/3.535, allocations: 0.8257 MB / 1.328 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/3.535, allocations: 11.25 kB / 1.328 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/3.535, allocations: 7.781 kB / 1.328 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/3.538, allocations: 307.3 kB / 1.328 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/3.538, allocations: 126.5 kB / 1.328 GB, free: 94.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/3.54, allocations: 0.9189 MB / 1.329 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/3.541, allocations: 44.95 kB / 1.329 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/3.541, allocations: 68.33 kB / 1.329 GB, free: 94.13 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.0002651/3.542, allocations: 150.7 kB / 1.33 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/3.542, allocations: 72.44 kB / 1.33 GB, free: 93.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/3.544, allocations: 0.6656 MB / 1.33 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/3.544, allocations: 4.125 kB / 1.33 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/3.544, allocations: 6.688 kB / 1.33 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/3.544, allocations: 6.25 kB / 1.33 GB, free: 93.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/3.548, allocations: 1.245 MB / 1.331 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/3.548, allocations: 1 kB / 1.331 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/3.55, allocations: 212 kB / 1.332 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/3.55, allocations: 25.28 kB / 1.332 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.788e-05/3.55, allocations: 18.97 kB / 1.332 GB, free: 93.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/3.552, allocations: 2.683 MB / 1.334 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/3.552, allocations: 4.375 kB / 1.334 GB, free: 90.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/3.554, allocations: 0.8286 MB / 1.335 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/3.555, allocations: 179.1 kB / 1.335 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/3.555, allocations: 11.28 kB / 1.335 GB, free: 90.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/3.556, allocations: 37 kB / 1.335 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/3.556, allocations: 36.81 kB / 1.335 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/3.556, allocations: 43.11 kB / 1.335 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008275/3.557, allocations: 423.1 kB / 1.336 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/3.557, allocations: 0 / 1.336 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002165/3.559, allocations: 393.6 kB / 1.336 GB, free: 90.38 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.002647/3.562, allocations: 1.038 MB / 1.337 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002031/3.564, allocations: 0.5303 MB / 1.338 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/3.564, allocations: 1.156 kB / 1.338 GB, free: 90.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/3.565, allocations: 384.1 kB / 1.338 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/3.568, allocations: 330.9 kB / 1.338 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/3.571, allocations: 0.9783 MB / 1.339 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/3.572, allocations: 0.9413 MB / 1.34 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/3.573, allocations: 112.7 kB / 1.34 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of SimCode: time 2.004e-06/3.573, allocations: 2.953 kB / 1.34 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of Templates: time 0.04602/3.619, allocations: 20.81 MB / 1.361 GB, free: 88.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches