Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 111.1 kB / 17.04 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 194.9 kB / 17.97 MB, free: 5.113 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.454/1.454, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 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.001543/0.001543, allocations: 66.86 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1114, allocations: 57.79 MB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4414/0.5528, allocations: 147.6 MB / 0.5757 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007535/0.5604, allocations: 5.592 MB / 0.5812 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.5615, allocations: 20.78 kB / 0.5812 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.5627, allocations: 327.5 kB / 0.5815 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.5647, allocations: 0.8487 MB / 0.5824 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.5676, allocations: 1.032 MB / 0.5834 GB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.5697, allocations: 1.793 MB / 0.5851 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000624/0.5704, allocations: 472.4 kB / 0.5856 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.5716, allocations: 0.7493 MB / 0.5863 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.5725, allocations: 0.709 MB / 0.587 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-05/0.5726, allocations: 62.56 kB / 0.587 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.5738, allocations: 0.5366 MB / 0.5876 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.574, allocations: 262 kB / 0.5878 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.5744, allocations: 396.9 kB / 0.5882 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.5757, allocations: 1.141 MB / 0.5893 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.5757, allocations: 0 / 0.5893 GB, free: 10.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5757, allocations: 0 / 0.5893 GB, free: 10.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.5758, allocations: 0 / 0.5893 GB, free: 10.05 MB / 430.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.001991/0.5778, allocations: 1.055 MB / 0.5903 GB, free: 9.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5778, allocations: 9.562 kB / 0.5904 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003554/0.5782, allocations: 87.98 kB / 0.5904 GB, free: 9.293 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.579, allocations: 0.5341 MB / 0.591 GB, free: 8.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5791, allocations: 105.8 kB / 0.5911 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.73e-05/0.5792, allocations: 49.62 kB / 0.5911 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5804, allocations: 0.8176 MB / 0.5919 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5804, allocations: 5.844 kB / 0.5919 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.5805, allocations: 24.94 kB / 0.5919 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/0.5805, allocations: 35.92 kB / 0.592 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009495/0.5815, allocations: 0.6574 MB / 0.5926 GB, free: 8.375 MB / 430.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.004302/0.5858, allocations: 3.968 MB / 0.5965 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.5865, allocations: 427.2 kB / 0.5969 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.5868, allocations: 203 kB / 0.5971 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.5874, allocations: 0.734 MB / 0.5978 GB, free: 4.387 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.5875, allocations: 37.08 kB / 0.5978 GB, free: 4.348 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.054e-06/0.5875, allocations: 0 / 0.5978 GB, free: 4.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.00308/0.5906, allocations: 1.545 MB / 0.5993 GB, free: 3.414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5907, allocations: 143.9 kB / 0.5995 GB, free: 3.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.5913, allocations: 0.5674 MB / 0.6 GB, free: 2.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.5913, allocations: 36.11 kB / 0.6001 GB, free: 2.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.5916, allocations: 354.9 kB / 0.6004 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.5917, allocations: 166.4 kB / 0.6006 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.5919, allocations: 140.4 kB / 0.6007 GB, free: 2.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5921, allocations: 370.2 kB / 0.6011 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.5925, allocations: 221.6 kB / 0.6013 GB, free: 1.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.5931, allocations: 0.5159 MB / 0.6018 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.594, allocations: 0.7614 MB / 0.6025 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.5941, allocations: 1.812 kB / 0.6025 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001516/0.5956, allocations: 0.9069 MB / 0.6034 GB, free: 244 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.5956, allocations: 13.94 kB / 0.6034 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.5956, allocations: 10.66 kB / 0.6034 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.597, allocations: 292.7 kB / 0.6037 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.5974, allocations: 121.7 kB / 0.6038 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.5984, allocations: 0.8866 MB / 0.6047 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.5989, allocations: 20.91 kB / 0.6047 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.599, allocations: 41.17 kB / 0.6047 GB, free: 15.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.5993, allocations: 251.1 kB / 0.605 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5995, allocations: 70.41 kB / 0.6051 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6007, allocations: 0.7671 MB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.6008, allocations: 4.906 kB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6008, allocations: 0 / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6008, allocations: 2.625 kB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6028, allocations: 1.418 MB / 0.6072 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6028, allocations: 2.188 kB / 0.6072 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000974/0.6038, allocations: 200.6 kB / 0.6074 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.914e-05/0.6039, allocations: 23.06 kB / 0.6074 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.604, allocations: 26.45 kB / 0.6074 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.606, allocations: 2.868 MB / 0.6102 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.606, allocations: 6.703 kB / 0.6102 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6073, allocations: 1.004 MB / 0.6112 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.6077, allocations: 206.4 kB / 0.6114 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.803e-05/0.6078, allocations: 10.78 kB / 0.6114 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.6082, allocations: 22.05 kB / 0.6115 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.6083, allocations: 42.7 kB / 0.6115 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.6083, allocations: 26.64 kB / 0.6115 GB, free: 9.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005254/0.6089, allocations: 429.2 kB / 0.6119 GB, free: 9.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6089, allocations: 0 / 0.6119 GB, free: 9.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009129/0.6098, allocations: 227.3 kB / 0.6121 GB, free: 9.234 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0006029/0.6104, allocations: 260 kB / 0.6124 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.6117, allocations: 0.6079 MB / 0.613 GB, free: 8.762 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6117, allocations: 3.859 kB / 0.613 GB, free: 8.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.6127, allocations: 454.1 kB / 0.6134 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.6143, allocations: 382.1 kB / 0.6138 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.6165, allocations: 1.373 MB / 0.6151 GB, free: 6.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.617, allocations: 0.9424 MB / 0.616 GB, free: 5.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006108/0.6176, allocations: 206.1 kB / 0.6162 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.6178, allocations: 63.42 kB / 0.6163 GB, free: 5.293 MB / 446.1 MB Notification: Performance of SimCode: time 2.094e-06/0.6178, allocations: 0 / 0.6163 GB, free: 5.293 MB / 446.1 MB Notification: Performance of Templates: time 0.02627/0.6441, allocations: 15.49 MB / 0.6314 GB, free: 5.859 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches