Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 90.31 kB / 20.69 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001479/0.001479, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.691e-05, allocations: 2.281 kB / 442.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4326/0.4326, allocations: 130.2 MB / 0.5594 GB, free: 3.703 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008914/0.4416, allocations: 5.167 MB / 0.5645 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.4425, allocations: 31.69 kB / 0.5645 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.4436, allocations: 313.9 kB / 0.5648 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.4461, allocations: 0.9204 MB / 0.5657 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003113/0.4492, allocations: 1.076 MB / 0.5668 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00249/0.4517, allocations: 1.832 MB / 0.5686 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.4524, allocations: 393.6 kB / 0.5689 GB, free: 9.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.4542, allocations: 1.005 MB / 0.5699 GB, free: 8.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.4555, allocations: 0.6935 MB / 0.5706 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.4557, allocations: 60 kB / 0.5706 GB, free: 8.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.457, allocations: 0.4911 MB / 0.5711 GB, free: 7.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.4574, allocations: 291 kB / 0.5714 GB, free: 7.426 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.4579, allocations: 283.4 kB / 0.5717 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.4598, allocations: 1.196 MB / 0.5728 GB, free: 5.949 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4598, allocations: 4 kB / 0.5728 GB, free: 5.945 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4598, allocations: 0 / 0.5728 GB, free: 5.945 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.4598, allocations: 4.969 kB / 0.5728 GB, free: 5.941 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.002269/0.462, allocations: 0.9911 MB / 0.5738 GB, free: 4.918 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4621, allocations: 12.03 kB / 0.5738 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.4625, allocations: 96.45 kB / 0.5739 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/0.4634, allocations: 478 kB / 0.5744 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.4636, allocations: 156.4 kB / 0.5745 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4637, allocations: 52.36 kB / 0.5746 GB, free: 4.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.4653, allocations: 1.134 MB / 0.5757 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4654, allocations: 8.312 kB / 0.5757 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.4654, allocations: 23.92 kB / 0.5757 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.4655, allocations: 48.95 kB / 0.5758 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.4667, allocations: 0.6497 MB / 0.5764 GB, free: 2.086 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.004734/0.4714, allocations: 3.077 MB / 0.5794 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008775/0.4723, allocations: 404.2 kB / 0.5798 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.4727, allocations: 197.4 kB / 0.58 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.473, allocations: 56.28 kB / 0.58 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.473, allocations: 38.89 kB / 0.5801 GB, free: 14.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=40): time 2.033e-06/0.473, allocations: 4 kB / 0.5801 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003559/0.4766, allocations: 1.384 MB / 0.5814 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4767, allocations: 136.5 kB / 0.5815 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/0.4774, allocations: 0.5259 MB / 0.5821 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.4775, allocations: 37.7 kB / 0.5821 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.4778, allocations: 368.3 kB / 0.5824 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.478, allocations: 170.6 kB / 0.5826 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4782, allocations: 142.6 kB / 0.5827 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4784, allocations: 366.8 kB / 0.5831 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.4788, allocations: 213.9 kB / 0.5833 GB, free: 10.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.4796, allocations: 0.5923 MB / 0.5839 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4808, allocations: 0.7689 MB / 0.5846 GB, free: 9.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4808, allocations: 4 kB / 0.5846 GB, free: 9.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001905/0.4827, allocations: 0.8926 MB / 0.5855 GB, free: 8.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.4827, allocations: 12 kB / 0.5855 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4827, allocations: 11.94 kB / 0.5855 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.4843, allocations: 282.7 kB / 0.5858 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.4847, allocations: 123.8 kB / 0.5859 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.4859, allocations: 0.8903 MB / 0.5868 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.4864, allocations: 28.06 kB / 0.5868 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-05/0.4865, allocations: 43.98 kB / 0.5869 GB, free: 6.824 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.0004011/0.4869, allocations: 241.5 kB / 0.5871 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.487, allocations: 71.5 kB / 0.5872 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.4885, allocations: 0.6931 MB / 0.5878 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4885, allocations: 4 kB / 0.5878 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4885, allocations: 4 kB / 0.5878 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.4885, allocations: 3.984 kB / 0.5878 GB, free: 5.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.4907, allocations: 1.172 MB / 0.589 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4907, allocations: 192 / 0.589 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.4918, allocations: 203.8 kB / 0.5892 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.4919, allocations: 24.84 kB / 0.5892 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.337e-05/0.492, allocations: 15.94 kB / 0.5892 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002565/0.4946, allocations: 2.628 MB / 0.5918 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4946, allocations: 0 / 0.5918 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4963, allocations: 0.9281 MB / 0.5927 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.4966, allocations: 123.6 kB / 0.5928 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.4967, allocations: 15.94 kB / 0.5928 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.4971, allocations: 19.98 kB / 0.5928 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4972, allocations: 39.88 kB / 0.5929 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.4972, allocations: 19.98 kB / 0.5929 GB, free: 336 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005266/0.4978, allocations: 354.9 kB / 0.5932 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4978, allocations: 0 / 0.5932 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000882/0.4986, allocations: 223.8 kB / 0.5935 GB, free: 15.76 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.0005327/0.4992, allocations: 255 kB / 0.5937 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.5005, allocations: 0.5808 MB / 0.5943 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5005, allocations: 0 / 0.5943 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5017, allocations: 442.3 kB / 0.5947 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.5033, allocations: 326 kB / 0.595 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5056, allocations: 1.294 MB / 0.5963 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.506, allocations: 345.1 kB / 0.5966 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005898/0.5066, allocations: 195.1 kB / 0.5968 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5068, allocations: 64.48 kB / 0.5968 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5068, allocations: 0 / 0.5968 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.0269/0.5336, allocations: 14.22 MB / 0.6107 GB, free: 14.25 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.802634060382843]