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.001009/0.001009, allocations: 102.8 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.001247/0.001247, allocations: 182.7 kB / 16.92 MB, free: 6.922 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.681/1.681, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3577/0.3577, allocations: 43.57 MB / 315 MB, free: 8.789 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.0005399/0.0005401, allocations: 16 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3949/0.5297, allocations: 144 MB / 0.5737 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.5371, allocations: 5.666 MB / 0.5793 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007008/0.5379, allocations: 23.81 kB / 0.5793 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.5386, allocations: 278.5 kB / 0.5795 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.5404, allocations: 0.8205 MB / 0.5803 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.5428, allocations: 0.9255 MB / 0.5813 GB, free: 3.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.5454, allocations: 2.668 MB / 0.5839 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005576/0.5459, allocations: 397.5 kB / 0.5842 GB, free: 56 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.547, allocations: 0.6576 MB / 0.5849 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.5481, allocations: 0.7357 MB / 0.5856 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.5482, allocations: 32 kB / 0.5856 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.5495, allocations: 0.5224 MB / 0.5861 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.5498, allocations: 243.2 kB / 0.5864 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.5502, allocations: 392 kB / 0.5867 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.5515, allocations: 1.09 MB / 0.5878 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5515, allocations: 0 / 0.5878 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5516, allocations: 0 / 0.5878 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5516, allocations: 0 / 0.5878 GB, free: 12.38 MB / 462.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.001744/0.5533, allocations: 0.9246 MB / 0.5887 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5534, allocations: 11.97 kB / 0.5887 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.5537, allocations: 88.08 kB / 0.5888 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.5545, allocations: 0.517 MB / 0.5893 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.5546, allocations: 105 kB / 0.5894 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5547, allocations: 52.53 kB / 0.5895 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.556, allocations: 0.8149 MB / 0.5903 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.556, allocations: 4 kB / 0.5903 GB, free: 9.699 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.5561, allocations: 27.98 kB / 0.5903 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.487e-05/0.5562, allocations: 40.98 kB / 0.5903 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.5572, allocations: 0.6517 MB / 0.591 GB, free: 8.98 MB / 462.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.004468/0.5616, allocations: 3.966 MB / 0.5948 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.5624, allocations: 416.3 kB / 0.5952 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.5628, allocations: 209.4 kB / 0.5954 GB, free: 4.117 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006993/0.5635, allocations: 0.7365 MB / 0.5962 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5635, allocations: 38.89 kB / 0.5962 GB, free: 3.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.5635, allocations: 0 / 0.5962 GB, free: 3.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003342/0.5669, allocations: 1.539 MB / 0.5977 GB, free: 1.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.567, allocations: 140.5 kB / 0.5978 GB, free: 1.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.5677, allocations: 0.5693 MB / 0.5984 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.5677, allocations: 33.7 kB / 0.5984 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.568, allocations: 355 kB / 0.5988 GB, free: 432 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.5682, allocations: 169.7 kB / 0.5989 GB, free: 260 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.5683, allocations: 61.69 kB / 0.599 GB, free: 192 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5684, allocations: 370.8 kB / 0.5993 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.5688, allocations: 217.9 kB / 0.5995 GB, free: 15.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.5694, allocations: 0.5201 MB / 0.6 GB, free: 14.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.5704, allocations: 0.7523 MB / 0.6008 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5704, allocations: 4 kB / 0.6008 GB, free: 14.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001583/0.572, allocations: 0.9102 MB / 0.6017 GB, free: 13.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.5721, allocations: 11.94 kB / 0.6017 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5721, allocations: 15.94 kB / 0.6017 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.5735, allocations: 287.6 kB / 0.602 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.5739, allocations: 127.8 kB / 0.6021 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009478/0.5748, allocations: 0.884 MB / 0.603 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.5753, allocations: 39.98 kB / 0.603 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.5754, allocations: 44.05 kB / 0.603 GB, free: 11.72 MB / 478.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.0003496/0.5758, allocations: 255 kB / 0.6033 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.5759, allocations: 67.16 kB / 0.6033 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.5771, allocations: 0.7717 MB / 0.6041 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5771, allocations: 7.938 kB / 0.6041 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5771, allocations: 4 kB / 0.6041 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5772, allocations: 0 / 0.6041 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.579, allocations: 1.415 MB / 0.6055 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.579, allocations: 4 kB / 0.6055 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/0.58, allocations: 207.9 kB / 0.6057 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.852e-05/0.5801, allocations: 24.84 kB / 0.6057 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.5801, allocations: 13.05 kB / 0.6057 GB, free: 8.824 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.582, allocations: 2.69 MB / 0.6084 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5821, allocations: 3.938 kB / 0.6084 GB, free: 5.867 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.5834, allocations: 1.007 MB / 0.6093 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.5837, allocations: 216.1 kB / 0.6096 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.5838, allocations: 8 kB / 0.6096 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.5842, allocations: 35.98 kB / 0.6096 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.5843, allocations: 31.95 kB / 0.6096 GB, free: 4.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.5843, allocations: 19.98 kB / 0.6096 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005021/0.5848, allocations: 439 kB / 0.6101 GB, free: 4.055 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5849, allocations: 4 kB / 0.6101 GB, free: 4.051 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007633/0.5856, allocations: 220 kB / 0.6103 GB, free: 3.836 MB / 478.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.0005707/0.5862, allocations: 254.7 kB / 0.6105 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.5874, allocations: 0.6027 MB / 0.6111 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5874, allocations: 0 / 0.6111 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.5884, allocations: 458.5 kB / 0.6115 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.5902, allocations: 365.7 kB / 0.6119 GB, free: 2.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.5924, allocations: 1.689 MB / 0.6135 GB, free: 448 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.5929, allocations: 0.9388 MB / 0.6145 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007225/0.5937, allocations: 213.2 kB / 0.6147 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.5939, allocations: 63.42 kB / 0.6147 GB, free: 15.2 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5939, allocations: 0 / 0.6147 GB, free: 15.2 MB / 494.1 MB Notification: Performance of Templates: time 0.02347/0.6173, allocations: 14.79 MB / 0.6292 GB, free: 472 kB / 494.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches