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.001002/0.001002, allocations: 88.19 kB / 15.7 MB, free: 460 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.00143/0.00143, allocations: 176.4 kB / 16.58 MB, free: 6.84 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.8/1.8, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.4124/0.4124, allocations: 43.58 MB / 314.6 MB, free: 8.746 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.0006005/0.000601, allocations: 16 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1381, allocations: 58.87 MB / 442.8 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3569/0.495, allocations: 134.3 MB / 0.5637 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.5023, allocations: 5.328 MB / 0.5689 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005662/0.5029, allocations: 27.75 kB / 0.5689 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.5037, allocations: 266.4 kB / 0.5691 GB, free: 15.43 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001625/0.5053, allocations: 0.8044 MB / 0.5699 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.5074, allocations: 0.7964 MB / 0.5707 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.5097, allocations: 2.199 MB / 0.5729 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.5103, allocations: 387.5 kB / 0.5732 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.5114, allocations: 0.6538 MB / 0.5739 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009433/0.5123, allocations: 0.7008 MB / 0.5745 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.5124, allocations: 32 kB / 0.5746 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009585/0.5134, allocations: 415.2 kB / 0.575 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.5136, allocations: 231.3 kB / 0.5752 GB, free: 9.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.5138, allocations: 165.3 kB / 0.5753 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.5146, allocations: 0.8066 MB / 0.5761 GB, free: 8.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5147, allocations: 4 kB / 0.5761 GB, free: 8.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5147, allocations: 0 / 0.5761 GB, free: 8.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5147, allocations: 0 / 0.5761 GB, free: 8.25 MB / 446.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.00194/0.5166, allocations: 0.9206 MB / 0.577 GB, free: 7.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.5167, allocations: 12.02 kB / 0.577 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.5171, allocations: 107.5 kB / 0.5772 GB, free: 7.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009297/0.518, allocations: 0.4927 MB / 0.5776 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.5182, allocations: 100.4 kB / 0.5777 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.5183, allocations: 44 kB / 0.5778 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5198, allocations: 0.8111 MB / 0.5786 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.5198, allocations: 8.391 kB / 0.5786 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.5199, allocations: 28 kB / 0.5786 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.142e-05/0.52, allocations: 40.97 kB / 0.5786 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.521, allocations: 0.6401 MB / 0.5793 GB, free: 4.883 MB / 446.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.004439/0.5255, allocations: 3.96 MB / 0.5831 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.5262, allocations: 428.5 kB / 0.5835 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.5265, allocations: 201.4 kB / 0.5837 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005496/0.5271, allocations: 0.7366 MB / 0.5844 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.5271, allocations: 38.89 kB / 0.5845 GB, free: 15.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.113e-06/0.5271, allocations: 0 / 0.5845 GB, free: 15.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003196/0.5303, allocations: 1.545 MB / 0.586 GB, free: 13.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.5304, allocations: 136.5 kB / 0.5861 GB, free: 13.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.5311, allocations: 0.5731 MB / 0.5867 GB, free: 12.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.5312, allocations: 33.7 kB / 0.5867 GB, free: 12.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.5315, allocations: 351 kB / 0.5871 GB, free: 12.33 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5317, allocations: 165.7 kB / 0.5872 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.5317, allocations: 16 kB / 0.5872 GB, free: 12.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.5319, allocations: 374.7 kB / 0.5876 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.5323, allocations: 213.9 kB / 0.5878 GB, free: 11.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.5329, allocations: 0.5123 MB / 0.5883 GB, free: 10.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.5334, allocations: 316.5 kB / 0.5886 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5334, allocations: 0 / 0.5886 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001805/0.5352, allocations: 0.8985 MB / 0.5895 GB, free: 9.699 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.5353, allocations: 19.94 kB / 0.5895 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.5353, allocations: 8 kB / 0.5895 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.5367, allocations: 288.7 kB / 0.5898 GB, free: 9.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.5371, allocations: 123.8 kB / 0.5899 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.5381, allocations: 0.8824 MB / 0.5907 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.5386, allocations: 48.03 kB / 0.5908 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.5387, allocations: 35.94 kB / 0.5908 GB, free: 8.277 MB / 462.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 (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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.539, allocations: 249.5 kB / 0.5911 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.5391, allocations: 67.16 kB / 0.5911 GB, free: 7.957 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.5404, allocations: 0.7668 MB / 0.5919 GB, free: 7.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5404, allocations: 4 kB / 0.5919 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5404, allocations: 0 / 0.5919 GB, free: 7.156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5404, allocations: 7.922 kB / 0.5919 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5424, allocations: 1.411 MB / 0.5933 GB, free: 5.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5424, allocations: 12.12 kB / 0.5933 GB, free: 5.629 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009511/0.5434, allocations: 203.8 kB / 0.5935 GB, free: 5.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.18e-05/0.5435, allocations: 20.84 kB / 0.5935 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.5435, allocations: 16 kB / 0.5935 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.5454, allocations: 2.675 MB / 0.5961 GB, free: 2.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5454, allocations: 4.031 kB / 0.5961 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.5468, allocations: 0.9995 MB / 0.5971 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.5472, allocations: 208.2 kB / 0.5973 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.5473, allocations: 11.94 kB / 0.5973 GB, free: 1.164 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.5477, allocations: 36.03 kB / 0.5973 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.5478, allocations: 35.91 kB / 0.5974 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.5478, allocations: 23.98 kB / 0.5974 GB, free: 1.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005118/0.5483, allocations: 407.1 kB / 0.5978 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5484, allocations: 4 kB / 0.5978 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008655/0.5492, allocations: 219.9 kB / 0.598 GB, free: 468 kB / 462.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 (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.0005308/0.5498, allocations: 251.2 kB / 0.5982 GB, free: 212 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.551, allocations: 0.6031 MB / 0.5988 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.551, allocations: 0 / 0.5988 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009526/0.5519, allocations: 450.7 kB / 0.5993 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5534, allocations: 333.4 kB / 0.5996 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.5555, allocations: 1.632 MB / 0.6012 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.5561, allocations: 0.9348 MB / 0.6021 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000684/0.5568, allocations: 205.5 kB / 0.6023 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.5569, allocations: 63.42 kB / 0.6023 GB, free: 11.94 MB / 478.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5569, allocations: 0 / 0.6023 GB, free: 11.94 MB / 478.1 MB Notification: Performance of Templates: time 0.02195/0.5789, allocations: 13.74 MB / 0.6158 GB, free: 14.25 MB / 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