Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001901/0.001901, allocations: 107.4 kB / 20.48 MB, free: 1.121 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.002695/0.002695, allocations: 214.2 kB / 23.78 MB, free: 4.324 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.516/1.516, allocations: 230.5 MB / 257.5 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 378.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2337, allocations: 53.42 MB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05811/0.2918, allocations: 45.51 MB / 477.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006593/0.2984, allocations: 4.713 MB / 482 MB, free: 4.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.2986, allocations: 4 kB / 482 MB, free: 4.102 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007644/0.2994, allocations: 238.6 kB / 482.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006846/0.3001, allocations: 370 kB / 482.6 MB, free: 3.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01819/0.3183, allocations: 7.137 MB / 489.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3198, allocations: 1.107 MB / 490.8 MB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.32, allocations: 89.84 kB / 490.9 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007496/0.3275, allocations: 3.618 MB / 494.5 MB, free: 7.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006704/0.3282, allocations: 410.5 kB / 494.9 MB, free: 7.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3283, allocations: 56 kB / 495 MB, free: 7.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01802/0.3463, allocations: 9.318 MB / 0.4925 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.3467, allocations: 235.4 kB / 0.4927 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005134/0.3472, allocations: 267.1 kB / 0.4929 GB, free: 13.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.3595, allocations: 5.452 MB / 0.4983 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3596, allocations: 0 / 0.4983 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3596, allocations: 0 / 0.4983 GB, free: 7.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.874e-05/0.3596, allocations: 3.938 kB / 0.4983 GB, free: 7.793 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.003748/0.3633, allocations: 1.323 MB / 0.4996 GB, free: 6.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3634, allocations: 11.98 kB / 0.4996 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.3638, allocations: 67.7 kB / 0.4996 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.3644, allocations: 304.4 kB / 0.4999 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.3645, allocations: 33 kB / 0.5 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.3646, allocations: 44 kB / 0.5 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3662, allocations: 0.8894 MB / 0.5009 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3663, allocations: 0 / 0.5009 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.68e-05/0.3663, allocations: 23.94 kB / 0.5009 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.3663, allocations: 12 kB / 0.5009 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.3678, allocations: 0.7417 MB / 0.5016 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.3816, allocations: 3.58 MB / 0.5051 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.383, allocations: 0.5015 MB / 0.5056 GB, free: 92 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/0.3835, allocations: 249.6 kB / 0.5059 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.3949, allocations: 2.553 MB / 0.5084 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.553e-05/0.395, allocations: 39.06 kB / 0.5084 GB, free: 13.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 3.397e-06/0.395, allocations: 0 / 0.5084 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006467/0.4015, allocations: 1.9 MB / 0.5102 GB, free: 11.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.4015, allocations: 63.84 kB / 0.5103 GB, free: 11.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.4019, allocations: 265.6 kB / 0.5106 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.539e-05/0.402, allocations: 37.7 kB / 0.5106 GB, free: 10.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4021, allocations: 209.2 kB / 0.5108 GB, free: 10.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.4023, allocations: 202.3 kB / 0.511 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.4025, allocations: 110.3 kB / 0.5111 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4027, allocations: 346.8 kB / 0.5114 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.4031, allocations: 245.2 kB / 0.5117 GB, free: 9.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.4038, allocations: 340.3 kB / 0.512 GB, free: 9.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.4051, allocations: 0.6046 MB / 0.5126 GB, free: 8.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4051, allocations: 0 / 0.5126 GB, free: 8.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001961/0.407, allocations: 0.7418 MB / 0.5133 GB, free: 8.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.407, allocations: 7.938 kB / 0.5133 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.407, allocations: 4 kB / 0.5133 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/0.4076, allocations: 114.7 kB / 0.5134 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.4081, allocations: 123.8 kB / 0.5135 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.411, allocations: 3.224 MB / 0.5167 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.4113, allocations: 19.98 kB / 0.5167 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.4113, allocations: 28 kB / 0.5167 GB, free: 4.301 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.0002835/0.4116, allocations: 193.7 kB / 0.5169 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.4119, allocations: 43.7 kB / 0.517 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.4136, allocations: 0.8205 MB / 0.5178 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.4136, allocations: 8 kB / 0.5178 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4136, allocations: 0 / 0.5178 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.4149, allocations: 0.7611 MB / 0.5185 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.4171, allocations: 1.127 MB / 0.5196 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4171, allocations: 0 / 0.5196 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.4176, allocations: 99.88 kB / 0.5197 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/0.4185, allocations: 152.7 kB / 0.5198 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.4186, allocations: 19.98 kB / 0.5199 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004661/0.4191, allocations: 0.6406 MB / 0.5205 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4191, allocations: 4.031 kB / 0.5205 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.4209, allocations: 0.9073 MB / 0.5214 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.421, allocations: 31.84 kB / 0.5214 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.4211, allocations: 19.94 kB / 0.5214 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.4215, allocations: 19.98 kB / 0.5215 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.4215, allocations: 40.45 kB / 0.5215 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.4216, allocations: 27.98 kB / 0.5215 GB, free: 15.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002472/0.4219, allocations: 213.2 kB / 0.5217 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4219, allocations: 0 / 0.5217 GB, free: 14.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003638/0.4255, allocations: 1.337 MB / 0.523 GB, free: 13.64 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.006243/0.4317, allocations: 1.694 MB / 0.5247 GB, free: 11.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4333, allocations: 0.7779 MB / 0.5254 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4333, allocations: 0 / 0.5254 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005957/0.4339, allocations: 291.5 kB / 0.5257 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4351, allocations: 221 kB / 0.5259 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.4373, allocations: 1.088 MB / 0.527 GB, free: 9.496 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.4375, allocations: 245.2 kB / 0.5272 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005016/0.438, allocations: 135.3 kB / 0.5274 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4382, allocations: 60.48 kB / 0.5274 GB, free: 9.043 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4382, allocations: 0 / 0.5274 GB, free: 9.043 MB / 446.1 MB Notification: Performance of Templates: time 0.2343/0.6725, allocations: 44.2 MB / 0.5706 GB, free: 79.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.362997492775321]