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.001737/0.001737, allocations: 107 kB / 19.8 MB, free: 2.5 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.002223/0.002223, allocations: 219.6 kB / 23 MB, free: 5.578 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.41/1.41, allocations: 230.2 MB / 256.2 MB, free: 8.527 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.001856/0.001856, allocations: 55.91 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2298, allocations: 53.32 MB / 429.8 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06135/0.2912, allocations: 51.15 MB / 480.9 MB, free: 4.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.2982, allocations: 5.246 MB / 486.2 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.2986, allocations: 11.94 kB / 486.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000827/0.2994, allocations: 254.6 kB / 486.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008462/0.3002, allocations: 373.9 kB / 486.8 MB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01897/0.3192, allocations: 7.139 MB / 494 MB, free: 7.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.3207, allocations: 1.099 MB / 495.1 MB, free: 6.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.321, allocations: 97.55 kB / 495.2 MB, free: 5.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.3277, allocations: 3.636 MB / 498.8 MB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.3285, allocations: 426.6 kB / 499.2 MB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.3286, allocations: 60 kB / 499.3 MB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.3476, allocations: 10.11 MB / 0.4974 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.348, allocations: 235.4 kB / 0.4977 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.3485, allocations: 310.8 kB / 0.498 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3601, allocations: 5.53 MB / 0.5034 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3601, allocations: 0 / 0.5034 GB, free: 1.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3601, allocations: 0 / 0.5034 GB, free: 1.648 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.3602, allocations: 0 / 0.5034 GB, free: 1.648 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.003491/0.3637, allocations: 1.406 MB / 0.5047 GB, free: 192 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3637, allocations: 8.031 kB / 0.5047 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/0.3641, allocations: 71.64 kB / 0.5048 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.3647, allocations: 359.2 kB / 0.5052 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.3647, allocations: 33 kB / 0.5052 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.3648, allocations: 48 kB / 0.5052 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3663, allocations: 0.592 MB / 0.5058 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.3663, allocations: 3.953 kB / 0.5058 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.3663, allocations: 16 kB / 0.5058 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3664, allocations: 12 kB / 0.5058 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3678, allocations: 0.7456 MB / 0.5066 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01906/0.3869, allocations: 11.96 MB / 0.5182 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.3882, allocations: 0.511 MB / 0.5187 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.3886, allocations: 245.6 kB / 0.519 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01633/0.405, allocations: 11.89 MB / 0.5306 GB, free: 1.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.405, allocations: 42.94 kB / 0.5306 GB, free: 1.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.184e-06/0.405, allocations: 0 / 0.5306 GB, free: 1.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006063/0.4111, allocations: 2.117 MB / 0.5327 GB, free: 15.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4111, allocations: 59.97 kB / 0.5328 GB, free: 14.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.4115, allocations: 322.9 kB / 0.5331 GB, free: 14.62 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.4116, allocations: 37.7 kB / 0.5331 GB, free: 14.58 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.4117, allocations: 204.7 kB / 0.5333 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.4119, allocations: 206.3 kB / 0.5335 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.4121, allocations: 110.2 kB / 0.5336 GB, free: 14.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4122, allocations: 346.8 kB / 0.5339 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.4127, allocations: 245 kB / 0.5342 GB, free: 13.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.4134, allocations: 335.4 kB / 0.5345 GB, free: 13.12 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.4147, allocations: 0.6073 MB / 0.5351 GB, free: 12.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4147, allocations: 0 / 0.5351 GB, free: 12.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001885/0.4166, allocations: 0.7482 MB / 0.5358 GB, free: 11.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4166, allocations: 11.94 kB / 0.5358 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4166, allocations: 0 / 0.5358 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.4171, allocations: 110.5 kB / 0.5359 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.4176, allocations: 119.8 kB / 0.536 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.4204, allocations: 3.48 MB / 0.5394 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.4207, allocations: 16.03 kB / 0.5394 GB, free: 7.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.4207, allocations: 27.98 kB / 0.5395 GB, free: 7.641 MB / 462.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.0002569/0.421, allocations: 193.6 kB / 0.5397 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.4213, allocations: 51.7 kB / 0.5397 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.423, allocations: 0.8191 MB / 0.5405 GB, free: 6.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.423, allocations: 4 kB / 0.5405 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.423, allocations: 0 / 0.5405 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.4242, allocations: 0.7596 MB / 0.5413 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.4264, allocations: 1.309 MB / 0.5425 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4264, allocations: 0 / 0.5425 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.4268, allocations: 95.89 kB / 0.5426 GB, free: 4.234 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/0.4277, allocations: 152.7 kB / 0.5428 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.586e-05/0.4278, allocations: 19.98 kB / 0.5428 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004605/0.4282, allocations: 0.6445 MB / 0.5434 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4282, allocations: 4.031 kB / 0.5434 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.43, allocations: 0.9134 MB / 0.5443 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4301, allocations: 109 kB / 0.5444 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.4302, allocations: 12 kB / 0.5444 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.4306, allocations: 23.97 kB / 0.5444 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.4306, allocations: 32.39 kB / 0.5445 GB, free: 2.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.4307, allocations: 27.98 kB / 0.5445 GB, free: 2.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.431, allocations: 261.9 kB / 0.5448 GB, free: 1.977 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.431, allocations: 0 / 0.5448 GB, free: 1.977 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003305/0.4343, allocations: 1.333 MB / 0.5461 GB, free: 0.6406 MB / 462.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.1736/0.6079, allocations: 1.697 MB / 0.5477 GB, free: 122.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.6094, allocations: 0.782 MB / 0.5485 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6094, allocations: 1.281 kB / 0.5485 GB, free: 122.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.61, allocations: 279.6 kB / 0.5487 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.6113, allocations: 282.3 kB / 0.549 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.6131, allocations: 1.118 MB / 0.5501 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.6134, allocations: 0.8336 MB / 0.5509 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004628/0.6139, allocations: 147.3 kB / 0.5511 GB, free: 121.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.614, allocations: 53.92 kB / 0.5511 GB, free: 121.5 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.614, allocations: 1.312 kB / 0.5511 GB, free: 121.5 MB / 462.1 MB Notification: Performance of Templates: time 0.04583/0.6598, allocations: 45.47 MB / 0.5955 GB, free: 83.03 MB / 462.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.174950843676925]