Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,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.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,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.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002182, allocations: 180.2 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.046/2.046, 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.001567/0.001567, allocations: 74.73 kB / 267.5 MB, free: 14.05 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.2748/0.2748, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.402e-05, allocations: 0 / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.828/1.944, allocations: 0.6189 GB / 1.092 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.945, allocations: 96.62 kB / 1.092 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/3.098, allocations: 228.9 MB / 1.315 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.465e-06/3.098, allocations: 0 / 1.315 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.929e-05/3.099, allocations: 19.98 kB / 1.315 GB, free: 5.992 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.004071/3.103, allocations: 1.162 MB / 1.317 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/3.103, allocations: 16.03 kB / 1.317 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/3.104, allocations: 127.1 kB / 1.317 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/3.106, allocations: 0.5404 MB / 1.317 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/3.106, allocations: 104.4 kB / 1.317 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/3.106, allocations: 51.91 kB / 1.317 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/3.108, allocations: 0.8036 MB / 1.318 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/3.108, allocations: 4 kB / 1.318 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/3.108, allocations: 24 kB / 1.318 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-05/3.108, allocations: 36.92 kB / 1.318 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/3.11, allocations: 0.6128 MB / 1.319 GB, free: 2.344 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.3712/3.481, allocations: 3.925 MB / 1.323 GB, free: 96.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/3.482, allocations: 333.1 kB / 1.323 GB, free: 96.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/3.482, allocations: 164.7 kB / 1.323 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/3.482, allocations: 27.67 kB / 1.323 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/3.482, allocations: 39.3 kB / 1.323 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.697e-06/3.482, allocations: 0 / 1.323 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.00891/3.491, allocations: 1.505 MB / 1.325 GB, free: 96.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/3.492, allocations: 141.1 kB / 1.325 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/3.493, allocations: 0.5289 MB / 1.325 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/3.493, allocations: 35.27 kB / 1.325 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/3.493, allocations: 407.1 kB / 1.326 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/3.493, allocations: 134.1 kB / 1.326 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/3.493, allocations: 13.94 kB / 1.326 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.616e-05/3.494, allocations: 337.5 kB / 1.326 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/3.494, allocations: 196.8 kB / 1.326 GB, free: 95.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/3.495, allocations: 0.4976 MB / 1.327 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/3.496, allocations: 287.4 kB / 1.327 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/3.496, allocations: 0.5625 kB / 1.327 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002164/3.498, allocations: 0.824 MB / 1.328 GB, free: 94.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/3.498, allocations: 6.594 kB / 1.328 GB, free: 94.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/3.498, allocations: 10.83 kB / 1.328 GB, free: 94.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/3.5, allocations: 310.3 kB / 1.328 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/3.501, allocations: 127.3 kB / 1.328 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/3.503, allocations: 0.9139 MB / 1.329 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/3.504, allocations: 49.83 kB / 1.329 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/3.504, allocations: 66.05 kB / 1.329 GB, free: 94.35 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.0002734/3.504, allocations: 155.6 kB / 1.33 GB, free: 94.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/3.505, allocations: 69.81 kB / 1.33 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/3.507, allocations: 0.6689 MB / 1.33 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/3.507, allocations: 8.062 kB / 1.33 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/3.507, allocations: 3.953 kB / 1.33 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/3.507, allocations: 5.875 kB / 1.33 GB, free: 94.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/3.51, allocations: 1.25 MB / 1.331 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/3.51, allocations: 4.984 kB / 1.331 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/3.512, allocations: 206.9 kB / 1.332 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001496/3.512, allocations: 27.38 kB / 1.332 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/3.513, allocations: 17.38 kB / 1.332 GB, free: 93.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/3.515, allocations: 2.677 MB / 1.334 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/3.515, allocations: 4.75 kB / 1.334 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/3.517, allocations: 0.8335 MB / 1.335 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/3.517, allocations: 182.3 kB / 1.335 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/3.517, allocations: 8.438 kB / 1.335 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/3.518, allocations: 30.03 kB / 1.335 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/3.518, allocations: 34.58 kB / 1.335 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/3.519, allocations: 46.25 kB / 1.335 GB, free: 90.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008793/3.519, allocations: 423.8 kB / 1.336 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.62e-07/3.52, allocations: 0 / 1.336 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002234/3.522, allocations: 389 kB / 1.336 GB, free: 90.61 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.002903/3.525, allocations: 1.043 MB / 1.337 GB, free: 90.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002161/3.527, allocations: 0.5259 MB / 1.338 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/3.527, allocations: 1.688 kB / 1.338 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/3.529, allocations: 392.3 kB / 1.338 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/3.532, allocations: 325 kB / 1.338 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/3.535, allocations: 0.9718 MB / 1.339 GB, free: 90 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/3.535, allocations: 0.9386 MB / 1.34 GB, free: 89.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/3.536, allocations: 115 kB / 1.34 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/3.536, allocations: 0 / 1.34 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.04579/3.582, allocations: 20.82 MB / 1.361 GB, free: 88.86 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches