Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 102.7 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009399/0.00094, allocations: 185.4 kB / 16.92 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3671/0.3671, allocations: 43.58 MB / 315 MB, free: 8.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 14.97 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.436/0.5656, allocations: 175.8 MB / 0.6047 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01185/0.5775, allocations: 8.298 MB / 0.6128 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.5787, allocations: 23.81 kB / 0.6129 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.5797, allocations: 286.5 kB / 0.6131 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.5834, allocations: 1.317 MB / 0.6144 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.5861, allocations: 1.005 MB / 0.6154 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003092/0.5892, allocations: 2.721 MB / 0.6181 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000867/0.5901, allocations: 398 kB / 0.6184 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.5934, allocations: 1.096 MB / 0.6195 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.5951, allocations: 0.6851 MB / 0.6202 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.5953, allocations: 35.98 kB / 0.6202 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.5973, allocations: 0.6992 MB / 0.6209 GB, free: 11.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.5978, allocations: 243.2 kB / 0.6211 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.5986, allocations: 391.9 kB / 0.6215 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.6011, allocations: 1.383 MB / 0.6228 GB, free: 9.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6012, allocations: 0 / 0.6228 GB, free: 9.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.6012, allocations: 4 kB / 0.6228 GB, free: 9.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.6012, allocations: 0 / 0.6228 GB, free: 9.031 MB / 494.1 MB 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.002367/0.6036, allocations: 0.9783 MB / 0.6238 GB, free: 8.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6036, allocations: 12.03 kB / 0.6238 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.6044, allocations: 131.1 kB / 0.6239 GB, free: 7.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007722/0.6052, allocations: 0.5118 MB / 0.6244 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.6053, allocations: 100.3 kB / 0.6245 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6054, allocations: 48 kB / 0.6246 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.6067, allocations: 0.8214 MB / 0.6254 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6068, allocations: 0 / 0.6254 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.6068, allocations: 20 kB / 0.6254 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.6069, allocations: 44.92 kB / 0.6254 GB, free: 6.191 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.6079, allocations: 0.6205 MB / 0.6261 GB, free: 5.57 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004657/0.6126, allocations: 3.983 MB / 0.6299 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.6132, allocations: 355.6 kB / 0.6303 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.6135, allocations: 173.3 kB / 0.6304 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.6141, allocations: 365.4 kB / 0.6308 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.6141, allocations: 45.14 kB / 0.6308 GB, free: 356 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 3.607e-06/0.6141, allocations: 0 / 0.6308 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.3694/0.9836, allocations: 1.65 MB / 0.6324 GB, free: 49.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.9837, allocations: 139.2 kB / 0.6326 GB, free: 49.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008864/0.9846, allocations: 0.6151 MB / 0.6332 GB, free: 49.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.9846, allocations: 33.8 kB / 0.6332 GB, free: 48.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.9849, allocations: 364.4 kB / 0.6336 GB, free: 48.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.985, allocations: 148.2 kB / 0.6337 GB, free: 48.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.9851, allocations: 64.75 kB / 0.6338 GB, free: 48.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9852, allocations: 374.8 kB / 0.6341 GB, free: 48.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.9857, allocations: 203 kB / 0.6343 GB, free: 48.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/0.9863, allocations: 0.5157 MB / 0.6348 GB, free: 48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.9874, allocations: 0.7422 MB / 0.6355 GB, free: 47.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.9874, allocations: 4.562 kB / 0.6355 GB, free: 47.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001744/0.9892, allocations: 0.8783 MB / 0.6364 GB, free: 47.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9892, allocations: 9.031 kB / 0.6364 GB, free: 47.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.9892, allocations: 10.81 kB / 0.6364 GB, free: 47.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.991, allocations: 321 kB / 0.6367 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.9915, allocations: 128 kB / 0.6369 GB, free: 47.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.9927, allocations: 0.9341 MB / 0.6378 GB, free: 47.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.9935, allocations: 42.09 kB / 0.6378 GB, free: 47.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.9936, allocations: 65.38 kB / 0.6379 GB, free: 47.03 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004564/0.9941, allocations: 256.5 kB / 0.6381 GB, free: 46.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9942, allocations: 68.72 kB / 0.6382 GB, free: 46.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.9961, allocations: 0.6752 MB / 0.6388 GB, free: 46.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.9961, allocations: 3.312 kB / 0.6388 GB, free: 46.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9961, allocations: 0 / 0.6388 GB, free: 46.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.9961, allocations: 2.391 kB / 0.6388 GB, free: 46.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.9985, allocations: 1.615 MB / 0.6404 GB, free: 46.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.9986, allocations: 3.875 kB / 0.6404 GB, free: 46.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.9998, allocations: 206.9 kB / 0.6406 GB, free: 46.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/1, allocations: 29.06 kB / 0.6406 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/1, allocations: 19.22 kB / 0.6407 GB, free: 46.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/1.002, allocations: 2.683 MB / 0.6433 GB, free: 43.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.002, allocations: 7.141 kB / 0.6433 GB, free: 43.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.003, allocations: 0.8091 MB / 0.6441 GB, free: 43.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/1.004, allocations: 201 kB / 0.6443 GB, free: 43.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.004, allocations: 12.12 kB / 0.6443 GB, free: 43.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/1.004, allocations: 25.88 kB / 0.6443 GB, free: 43.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.004, allocations: 39.56 kB / 0.6443 GB, free: 43.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/1.005, allocations: 47.72 kB / 0.6444 GB, free: 43.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006442/1.005, allocations: 435.2 kB / 0.6448 GB, free: 43.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.005, allocations: 0 / 0.6448 GB, free: 43.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001282/1.006, allocations: 296.9 kB / 0.6451 GB, free: 43.05 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/1.008, allocations: 374.2 kB / 0.6454 GB, free: 42.94 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/1.009, allocations: 0.5338 MB / 0.646 GB, free: 42.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.009, allocations: 0 / 0.646 GB, free: 42.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.01, allocations: 424.8 kB / 0.6464 GB, free: 42.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.012, allocations: 347.6 kB / 0.6467 GB, free: 42.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/1.015, allocations: 1.617 MB / 0.6483 GB, free: 42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/1.016, allocations: 0.9326 MB / 0.6492 GB, free: 41.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001412/1.017, allocations: 267.4 kB / 0.6495 GB, free: 41.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/1.017, allocations: 102.2 kB / 0.6495 GB, free: 41.2 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/1.017, allocations: 0 / 0.6495 GB, free: 41.2 MB / 494.1 MB Notification: Performance of Templates: time 0.04622/1.064, allocations: 17.65 MB / 0.6668 GB, free: 36.55 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches