Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001648/0.001648, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002064/0.002064, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.479/1.479, allocations: 230.5 MB / 258.1 MB, free: 7.988 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2753, allocations: 53.4 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03571/0.311, allocations: 26.88 MB / 459.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.3142, allocations: 2.255 MB / 461.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.3143, allocations: 4 kB / 461.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.3147, allocations: 63.64 kB / 461.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004452/0.3152, allocations: 171 kB / 461.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0174/0.3326, allocations: 6.589 MB / 468.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005884/0.3332, allocations: 342.7 kB / 468.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.3332, allocations: 5.75 kB / 468.7 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.3335, allocations: 143.5 kB / 468.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.3338, allocations: 135.5 kB / 469 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.3339, allocations: 12 kB / 469 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0195/0.3534, allocations: 9.701 MB / 478.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.3536, allocations: 79.77 kB / 478.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3537, allocations: 103.6 kB / 478.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.3663, allocations: 4.74 MB / 483.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3663, allocations: 0 / 483.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3663, allocations: 0 / 483.6 MB, free: 3.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3663, allocations: 0 / 483.6 MB, free: 3.414 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003812/0.3701, allocations: 1.105 MB / 484.8 MB, free: 2.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3702, allocations: 12.03 kB / 484.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3703, allocations: 28.22 kB / 484.8 MB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.3706, allocations: 163.9 kB / 485 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.3707, allocations: 12.33 kB / 485 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.3707, allocations: 27.83 kB / 485 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.3715, allocations: 289.4 kB / 485.3 MB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3715, allocations: 4 kB / 485.3 MB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.3716, allocations: 11.98 kB / 485.3 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.3716, allocations: 11.94 kB / 485.3 MB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.3724, allocations: 307.7 kB / 485.6 MB, free: 1.387 MB / 382.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.001626/0.3741, allocations: 0.7927 MB / 486.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.3748, allocations: 253.1 kB / 486.6 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3751, allocations: 121.6 kB / 486.8 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/0.3871, allocations: 2.667 MB / 489.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.3871, allocations: 42.55 kB / 489.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3871, allocations: 4 kB / 489.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003/0.3901, allocations: 0.6993 MB / 490.2 MB, free: 12.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3902, allocations: 81.11 kB / 490.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3903, allocations: 144.6 kB / 490.4 MB, free: 12.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3904, allocations: 33.7 kB / 490.4 MB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3905, allocations: 116.9 kB / 490.5 MB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.3906, allocations: 138.8 kB / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.3908, allocations: 77.58 kB / 490.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.391, allocations: 334.8 kB / 491.1 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.3914, allocations: 131.8 kB / 491.2 MB, free: 11.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.3919, allocations: 207.6 kB / 491.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.3929, allocations: 371 kB / 491.8 MB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3929, allocations: 0 / 491.8 MB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001209/0.3941, allocations: 424.1 kB / 492.2 MB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3941, allocations: 4 kB / 492.2 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3941, allocations: 7.938 kB / 492.2 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3941, allocations: 7.938 kB / 492.2 MB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.3946, allocations: 87.88 kB / 492.3 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/0.3946, allocations: 8.156 kB / 492.3 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.3949, allocations: 27.97 kB / 492.3 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.395, allocations: 16 kB / 492.3 MB, free: 10.43 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.3952, allocations: 145.7 kB / 492.5 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3953, allocations: 23.86 kB / 492.5 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.3959, allocations: 194.3 kB / 492.7 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.3959, allocations: 4 kB / 492.7 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3959, allocations: 0 / 492.7 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3959, allocations: 3.984 kB / 492.7 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001891/0.3978, allocations: 0.761 MB / 493.5 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.3978, allocations: 4 kB / 493.5 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.3983, allocations: 75.89 kB / 493.5 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3983, allocations: 4 kB / 493.5 MB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.3983, allocations: 11.98 kB / 493.6 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.3983, allocations: 7.938 kB / 493.6 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3983, allocations: 3.938 kB / 493.6 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4, allocations: 0.7186 MB / 494.3 MB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.4002, allocations: 51.83 kB / 494.3 MB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.4002, allocations: 8 kB / 494.3 MB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.4006, allocations: 27.97 kB / 494.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4006, allocations: 31.89 kB / 494.4 MB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.4007, allocations: 16 kB / 494.4 MB, free: 8.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.641e-05/0.4008, allocations: 114 kB / 494.5 MB, free: 8.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4008, allocations: 0 / 494.5 MB, free: 8.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002823/0.4036, allocations: 0.9666 MB / 495.5 MB, free: 7.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004554/0.4082, allocations: 1.254 MB / 496.8 MB, free: 5.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001143/0.4093, allocations: 328 kB / 497.1 MB, free: 5.562 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.4093, allocations: 4 kB / 497.1 MB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.4099, allocations: 167.7 kB / 497.2 MB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.4107, allocations: 104.1 kB / 497.3 MB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4124, allocations: 0.6469 MB / 498 MB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.4128, allocations: 0.7568 MB / 498.7 MB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.413, allocations: 43.36 kB / 498.8 MB, free: 3.77 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.413, allocations: 0 / 498.8 MB, free: 3.77 MB / 398.1 MB Notification: Performance of Templates: time 0.03472/0.4477, allocations: 20.21 MB / 0.5068 GB, free: 15.55 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 9.964534437982365]