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.001348/0.001348, allocations: 111.5 kB / 17.04 MB, free: 5.816 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.001385/0.001385, allocations: 195 kB / 17.98 MB, free: 5.027 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.634/1.634, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2323/0.2323, allocations: 43.52 MB / 314.7 MB, free: 488 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.001686/0.001686, allocations: 70.44 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09745, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3848/0.4823, allocations: 147.6 MB / 0.5757 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006946/0.4893, allocations: 5.586 MB / 0.5812 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009317/0.4903, allocations: 18.03 kB / 0.5812 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4913, allocations: 334.2 kB / 0.5815 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.4935, allocations: 0.8452 MB / 0.5824 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.4962, allocations: 1.026 MB / 0.5834 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.4989, allocations: 1.798 MB / 0.5851 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5001, allocations: 473 kB / 0.5856 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.5021, allocations: 0.7498 MB / 0.5863 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.5034, allocations: 0.7076 MB / 0.587 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.5035, allocations: 62.53 kB / 0.587 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.5048, allocations: 0.5366 MB / 0.5876 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.5051, allocations: 266.1 kB / 0.5878 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.5055, allocations: 401.7 kB / 0.5882 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.5072, allocations: 1.129 MB / 0.5893 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5072, allocations: 0 / 0.5893 GB, free: 9.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5072, allocations: 0 / 0.5893 GB, free: 9.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.5073, allocations: 0 / 0.5893 GB, free: 9.984 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.002553/0.5098, allocations: 1.054 MB / 0.5903 GB, free: 9.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.5099, allocations: 10.41 kB / 0.5904 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/0.5103, allocations: 91.45 kB / 0.5904 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009774/0.5113, allocations: 0.5342 MB / 0.591 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.5114, allocations: 105.6 kB / 0.5911 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-05/0.5115, allocations: 52.59 kB / 0.5911 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.5128, allocations: 0.819 MB / 0.5919 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.5129, allocations: 2.719 kB / 0.5919 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-05/0.5129, allocations: 23.72 kB / 0.5919 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.513, allocations: 36.39 kB / 0.592 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009367/0.5139, allocations: 0.6577 MB / 0.5926 GB, free: 8.309 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.004642/0.5186, allocations: 3.965 MB / 0.5965 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.5194, allocations: 430.2 kB / 0.5969 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.5197, allocations: 199.7 kB / 0.5971 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.5203, allocations: 0.7364 MB / 0.5978 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.5204, allocations: 44.05 kB / 0.5978 GB, free: 4.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.884e-06/0.5204, allocations: 0 / 0.5978 GB, free: 4.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003187/0.5236, allocations: 1.54 MB / 0.5994 GB, free: 3.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.5237, allocations: 142.8 kB / 0.5995 GB, free: 3.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007095/0.5244, allocations: 0.5714 MB / 0.6 GB, free: 2.902 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.992e-05/0.5245, allocations: 32.61 kB / 0.6001 GB, free: 2.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.5248, allocations: 359.8 kB / 0.6004 GB, free: 2.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.5249, allocations: 162.8 kB / 0.6006 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.5251, allocations: 136.8 kB / 0.6007 GB, free: 2.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.5253, allocations: 371.7 kB / 0.6011 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.5257, allocations: 214.3 kB / 0.6013 GB, free: 1.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006017/0.5263, allocations: 0.5169 MB / 0.6018 GB, free: 1.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.5273, allocations: 0.7616 MB / 0.6025 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5273, allocations: 2.844 kB / 0.6025 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001549/0.5289, allocations: 0.9103 MB / 0.6034 GB, free: 236 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.5289, allocations: 14.25 kB / 0.6034 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5289, allocations: 10.06 kB / 0.6034 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5302, allocations: 285.3 kB / 0.6037 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.5306, allocations: 124.6 kB / 0.6038 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.5317, allocations: 0.8821 MB / 0.6047 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.5321, allocations: 24.06 kB / 0.6047 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.5322, allocations: 42.66 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.0003333/0.5325, allocations: 254.3 kB / 0.605 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.5327, allocations: 67.69 kB / 0.6051 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5339, allocations: 0.7669 MB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5339, allocations: 5.031 kB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5339, allocations: 2.594 kB / 0.6058 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5339, allocations: 3.984 kB / 0.6058 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.5358, allocations: 1.421 MB / 0.6072 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5358, allocations: 2.812 kB / 0.6072 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009843/0.5368, allocations: 205.7 kB / 0.6074 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.5369, allocations: 27.03 kB / 0.6074 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.5369, allocations: 13.12 kB / 0.6074 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.539, allocations: 2.87 MB / 0.6102 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.539, allocations: 7.094 kB / 0.6102 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.5403, allocations: 1.009 MB / 0.6112 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.5406, allocations: 199.4 kB / 0.6114 GB, free: 9.574 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.5407, allocations: 12.34 kB / 0.6114 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.5411, allocations: 19.83 kB / 0.6115 GB, free: 9.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.5412, allocations: 41.39 kB / 0.6115 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.5412, allocations: 23.7 kB / 0.6115 GB, free: 9.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004742/0.5417, allocations: 427.4 kB / 0.6119 GB, free: 9.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5417, allocations: 0 / 0.6119 GB, free: 9.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008058/0.5425, allocations: 221.6 kB / 0.6121 GB, free: 9.238 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.0005492/0.5431, allocations: 277.6 kB / 0.6124 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.5443, allocations: 0.5968 MB / 0.613 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.5443, allocations: 7.797 kB / 0.613 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009924/0.5453, allocations: 458.1 kB / 0.6134 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.5468, allocations: 386.8 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.002026/0.5489, allocations: 1.369 MB / 0.6151 GB, free: 6.527 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5494, allocations: 0.9307 MB / 0.616 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005918/0.55, allocations: 202.1 kB / 0.6162 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5501, allocations: 67.42 kB / 0.6163 GB, free: 5.305 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5501, allocations: 4 kB / 0.6163 GB, free: 5.301 MB / 446.1 MB Notification: Performance of Templates: time 0.02449/0.5746, allocations: 15.5 MB / 0.6314 GB, free: 5.867 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 cvode -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