Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 83.38 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002452/0.002452, allocations: 164.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 34.27 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.799e-05, allocations: 5.516 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4627/0.4627, allocations: 130.2 MB / 0.5595 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008061/0.4708, allocations: 5.155 MB / 0.5645 GB, free: 14.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005473/0.4713, allocations: 27.75 kB / 0.5645 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.4724, allocations: 325.8 kB / 0.5648 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.4745, allocations: 0.9165 MB / 0.5657 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.4774, allocations: 1.076 MB / 0.5668 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.4798, allocations: 1.832 MB / 0.5686 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.4804, allocations: 405.5 kB / 0.569 GB, free: 10.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.4821, allocations: 0.9972 MB / 0.5699 GB, free: 9.102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.4833, allocations: 0.6935 MB / 0.5706 GB, free: 8.406 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.4834, allocations: 64 kB / 0.5707 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.4846, allocations: 0.495 MB / 0.5712 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.485, allocations: 283.1 kB / 0.5714 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.4854, allocations: 287.3 kB / 0.5717 GB, free: 7.289 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.4873, allocations: 1.196 MB / 0.5729 GB, free: 6.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4873, allocations: 0 / 0.5729 GB, free: 6.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4873, allocations: 0 / 0.5729 GB, free: 6.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4873, allocations: 0 / 0.5729 GB, free: 6.09 MB / 478.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.002937/0.4903, allocations: 0.9989 MB / 0.5738 GB, free: 5.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.4903, allocations: 8.031 kB / 0.5738 GB, free: 5.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.4908, allocations: 92.47 kB / 0.5739 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.4919, allocations: 482 kB / 0.5744 GB, free: 4.461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/0.492, allocations: 160.3 kB / 0.5745 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4921, allocations: 44.38 kB / 0.5746 GB, free: 4.238 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.4937, allocations: 1.147 MB / 0.5757 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.4937, allocations: 384 / 0.5757 GB, free: 2.941 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.4938, allocations: 27.94 kB / 0.5757 GB, free: 2.914 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/0.4939, allocations: 36.92 kB / 0.5758 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4951, allocations: 0.6557 MB / 0.5764 GB, free: 2.223 MB / 478.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.004586/0.4997, allocations: 3.067 MB / 0.5794 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.5005, allocations: 412.2 kB / 0.5798 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.5009, allocations: 189.4 kB / 0.58 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.5012, allocations: 60.22 kB / 0.58 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.5012, allocations: 38.89 kB / 0.5801 GB, free: 14.35 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/0.5012, allocations: 4 kB / 0.5801 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.00346/0.5047, allocations: 1.383 MB / 0.5814 GB, free: 12.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.5048, allocations: 144.4 kB / 0.5816 GB, free: 12.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.5054, allocations: 0.522 MB / 0.5821 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.5055, allocations: 37.7 kB / 0.5821 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.5058, allocations: 369.9 kB / 0.5825 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.5059, allocations: 170.6 kB / 0.5826 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.5061, allocations: 138.6 kB / 0.5828 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5063, allocations: 366.8 kB / 0.5831 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.5067, allocations: 213.9 kB / 0.5833 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/0.5074, allocations: 0.5916 MB / 0.5839 GB, free: 10.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.5086, allocations: 0.7584 MB / 0.5846 GB, free: 9.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5086, allocations: 8 kB / 0.5846 GB, free: 9.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001782/0.5104, allocations: 0.9004 MB / 0.5855 GB, free: 8.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5104, allocations: 8 kB / 0.5855 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.5104, allocations: 12 kB / 0.5855 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.5119, allocations: 288.6 kB / 0.5858 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.5123, allocations: 119.8 kB / 0.5859 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.5135, allocations: 0.8933 MB / 0.5868 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.514, allocations: 32.05 kB / 0.5868 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.301e-05/0.5141, allocations: 38.56 kB / 0.5869 GB, free: 6.973 MB / 494.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.0003811/0.5144, allocations: 250.1 kB / 0.5871 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5146, allocations: 63.56 kB / 0.5872 GB, free: 6.656 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.516, allocations: 0.6912 MB / 0.5878 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.516, allocations: 4 kB / 0.5878 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.516, allocations: 0 / 0.5878 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.516, allocations: 7.922 kB / 0.5879 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.5181, allocations: 1.168 MB / 0.589 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5181, allocations: 4 kB / 0.589 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.5192, allocations: 207.9 kB / 0.5892 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.27e-05/0.5193, allocations: 24.83 kB / 0.5892 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.5194, allocations: 19.94 kB / 0.5892 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.5217, allocations: 2.622 MB / 0.5918 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5217, allocations: 4.906 kB / 0.5918 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.5233, allocations: 0.921 MB / 0.5927 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.5235, allocations: 127.6 kB / 0.5928 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.5236, allocations: 15.92 kB / 0.5928 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.524, allocations: 16 kB / 0.5929 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.5241, allocations: 31.94 kB / 0.5929 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.5242, allocations: 31.97 kB / 0.5929 GB, free: 472 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004415/0.5246, allocations: 350.8 kB / 0.5932 GB, free: 124 kB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5246, allocations: 0 / 0.5932 GB, free: 124 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000863/0.5255, allocations: 223.8 kB / 0.5935 GB, free: 15.9 MB / 0.4981 GB 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.0005138/0.526, allocations: 249.6 kB / 0.5937 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.5273, allocations: 0.5808 MB / 0.5943 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5273, allocations: 4 kB / 0.5943 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.5285, allocations: 450.3 kB / 0.5947 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.53, allocations: 325.1 kB / 0.595 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.5322, allocations: 1.297 MB / 0.5963 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5326, allocations: 341.1 kB / 0.5966 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005725/0.5332, allocations: 192.3 kB / 0.5968 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.5334, allocations: 68.48 kB / 0.5969 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5334, allocations: 0 / 0.5969 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.02603/0.5594, allocations: 14.22 MB / 0.6107 GB, free: 14.41 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7857359908521175]