Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001734/0.001734, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002152/0.002152, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.484/1.484, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.94 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.212, allocations: 53.38 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05617/0.2682, allocations: 45.52 MB / 477.9 MB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006626/0.2748, allocations: 4.701 MB / 482.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.275, allocations: 7.938 kB / 482.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.2757, allocations: 230.7 kB / 482.8 MB, free: 4.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006704/0.2764, allocations: 377.9 kB / 483.2 MB, free: 3.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.2937, allocations: 7.122 MB / 490.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.2951, allocations: 1.111 MB / 491.4 MB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.2953, allocations: 98.67 kB / 491.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006344/0.3017, allocations: 3.607 MB / 495.1 MB, free: 7.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005903/0.3023, allocations: 422.5 kB / 495.5 MB, free: 7.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.3024, allocations: 60 kB / 495.6 MB, free: 7.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.3193, allocations: 9.646 MB / 0.4934 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.3197, allocations: 227.4 kB / 0.4936 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.3201, allocations: 271.1 kB / 0.4939 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.3304, allocations: 5.448 MB / 0.4992 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3304, allocations: 3.938 kB / 0.4992 GB, free: 7.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3305, allocations: 4 kB / 0.4992 GB, free: 7.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3305, allocations: 0 / 0.4992 GB, free: 7.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002943/0.3334, allocations: 1.319 MB / 0.5005 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3334, allocations: 8.031 kB / 0.5005 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000346/0.3338, allocations: 63.66 kB / 0.5005 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.3344, allocations: 308.4 kB / 0.5008 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3344, allocations: 33 kB / 0.5009 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.3345, allocations: 40 kB / 0.5009 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.336, allocations: 0.8971 MB / 0.5018 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.3361, allocations: 4 kB / 0.5018 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/0.3361, allocations: 20 kB / 0.5018 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3361, allocations: 8 kB / 0.5018 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3376, allocations: 0.7417 MB / 0.5025 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.3516, allocations: 3.577 MB / 0.506 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.3529, allocations: 0.5129 MB / 0.5065 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003945/0.3533, allocations: 242 kB / 0.5068 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.3651, allocations: 2.561 MB / 0.5093 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3651, allocations: 43 kB / 0.5093 GB, free: 13.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.334e-06/0.3651, allocations: 3.938 kB / 0.5093 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006215/0.3713, allocations: 1.889 MB / 0.5111 GB, free: 11.17 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3714, allocations: 59.91 kB / 0.5112 GB, free: 11.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.3717, allocations: 264.8 kB / 0.5115 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.3718, allocations: 37.7 kB / 0.5115 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3719, allocations: 213.2 kB / 0.5117 GB, free: 10.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.3721, allocations: 198.3 kB / 0.5119 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.3723, allocations: 114.3 kB / 0.512 GB, free: 10.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3725, allocations: 342.8 kB / 0.5123 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.3729, allocations: 237.2 kB / 0.5125 GB, free: 9.684 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.3737, allocations: 348.3 kB / 0.5129 GB, free: 9.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.375, allocations: 0.5956 MB / 0.5135 GB, free: 8.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.375, allocations: 0 / 0.5135 GB, free: 8.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001981/0.377, allocations: 0.7558 MB / 0.5142 GB, free: 7.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.377, allocations: 8 kB / 0.5142 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.377, allocations: 0 / 0.5142 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/0.3775, allocations: 110.5 kB / 0.5143 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.3781, allocations: 132.1 kB / 0.5144 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.381, allocations: 3.224 MB / 0.5176 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.3813, allocations: 16.34 kB / 0.5176 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.3813, allocations: 39.98 kB / 0.5176 GB, free: 4.152 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.3816, allocations: 181.7 kB / 0.5178 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.3819, allocations: 47.7 kB / 0.5179 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.3837, allocations: 0.8074 MB / 0.5187 GB, free: 3.078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3837, allocations: 4 kB / 0.5187 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3837, allocations: 4 kB / 0.5187 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.385, allocations: 0.7674 MB / 0.5194 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3872, allocations: 1.121 MB / 0.5205 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3872, allocations: 4 kB / 0.5205 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.3877, allocations: 99.88 kB / 0.5206 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009966/0.3887, allocations: 148.7 kB / 0.5207 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.3888, allocations: 16 kB / 0.5208 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004874/0.3893, allocations: 0.6561 MB / 0.5214 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3893, allocations: 0 / 0.5214 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3911, allocations: 0.9016 MB / 0.5223 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.3912, allocations: 31.84 kB / 0.5223 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.3913, allocations: 15.94 kB / 0.5223 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3917, allocations: 24.08 kB / 0.5223 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.3917, allocations: 32.38 kB / 0.5224 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.3918, allocations: 31.97 kB / 0.5224 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.3921, allocations: 212.5 kB / 0.5226 GB, free: 14.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3921, allocations: 0 / 0.5226 GB, free: 14.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003412/0.3955, allocations: 1.333 MB / 0.5239 GB, free: 13.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004991/0.4005, allocations: 1.703 MB / 0.5256 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.4021, allocations: 0.7684 MB / 0.5263 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4021, allocations: 4.562 kB / 0.5263 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.4027, allocations: 291.2 kB / 0.5266 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4039, allocations: 221.1 kB / 0.5268 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.406, allocations: 1.107 MB / 0.5279 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.4063, allocations: 233.4 kB / 0.5281 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.4067, allocations: 135.2 kB / 0.5283 GB, free: 8.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.4069, allocations: 51.42 kB / 0.5283 GB, free: 8.922 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4069, allocations: 0 / 0.5283 GB, free: 8.922 MB / 446.1 MB Notification: Performance of Templates: time 0.215/0.6219, allocations: 45.11 MB / 0.5724 GB, free: 78.76 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 17.60502780599927]