Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008146/0.008146, allocations: 109.5 kB / 21.98 MB, free: 5.184 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.002102/0.002102, allocations: 220.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 259 MB, free: 8.004 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2781, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03699/0.3151, allocations: 26.88 MB / 460 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.3184, allocations: 2.266 MB / 462.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.3185, allocations: 0 / 462.3 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.3189, allocations: 63.64 kB / 462.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004415/0.3194, allocations: 175 kB / 462.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.3376, allocations: 6.587 MB / 469.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.3382, allocations: 342.7 kB / 469.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.3383, allocations: 9.75 kB / 469.5 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.3386, allocations: 147.5 kB / 469.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3388, allocations: 127.5 kB / 469.7 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3389, allocations: 12 kB / 469.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01946/0.3583, allocations: 9.713 MB / 479.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3585, allocations: 67.78 kB / 479.5 MB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3587, allocations: 103.6 kB / 479.6 MB, free: 8.371 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.3719, allocations: 4.743 MB / 484.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3719, allocations: 0 / 484.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3719, allocations: 0 / 484.4 MB, free: 3.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.3719, allocations: 0 / 484.4 MB, free: 3.617 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.004085/0.376, allocations: 1.116 MB / 485.5 MB, free: 2.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3761, allocations: 8.031 kB / 485.5 MB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3762, allocations: 28.22 kB / 485.5 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.3765, allocations: 164.9 kB / 485.7 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3765, allocations: 8.328 kB / 485.7 MB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.3766, allocations: 23.95 kB / 485.7 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.3774, allocations: 285.4 kB / 486 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3774, allocations: 0 / 486 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.603e-05/0.3774, allocations: 12 kB / 486 MB, free: 1.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.3774, allocations: 11.94 kB / 486 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008251/0.3783, allocations: 315.7 kB / 486.3 MB, free: 1.59 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.001622/0.3799, allocations: 0.7966 MB / 487.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.3806, allocations: 240 kB / 487.4 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.3809, allocations: 137.6 kB / 487.5 MB, free: 336 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.3922, allocations: 2.667 MB / 490.2 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.3923, allocations: 38.5 kB / 490.2 MB, free: 13.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.644e-06/0.3923, allocations: 0 / 490.2 MB, free: 13.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003011/0.3953, allocations: 0.7075 MB / 490.9 MB, free: 12.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3953, allocations: 81.11 kB / 491 MB, free: 12.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3955, allocations: 145.8 kB / 491.1 MB, free: 12.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3955, allocations: 29.7 kB / 491.2 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.459e-05/0.3956, allocations: 116.9 kB / 491.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.3957, allocations: 134.8 kB / 491.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3959, allocations: 77.64 kB / 491.5 MB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.396, allocations: 334.7 kB / 491.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.3964, allocations: 135.9 kB / 491.9 MB, free: 11.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.3969, allocations: 211.6 kB / 492.1 MB, free: 11.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009521/0.3979, allocations: 364.3 kB / 492.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3979, allocations: 4 kB / 492.5 MB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001196/0.3991, allocations: 420.9 kB / 492.9 MB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3991, allocations: 8 kB / 492.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3991, allocations: 0 / 492.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3991, allocations: 7.938 kB / 492.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.3996, allocations: 91.88 kB / 493 MB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3997, allocations: 11.88 kB / 493 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.4, allocations: 24.16 kB / 493.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4, allocations: 20 kB / 493.1 MB, free: 10.62 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.0001867/0.4002, allocations: 145.7 kB / 493.2 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.4003, allocations: 23.86 kB / 493.2 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005205/0.4009, allocations: 182.8 kB / 493.4 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.4009, allocations: 7.938 kB / 493.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4009, allocations: 0 / 493.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.4009, allocations: 3.984 kB / 493.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001916/0.4028, allocations: 0.7509 MB / 494.2 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4028, allocations: 0 / 494.2 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.4033, allocations: 84.03 kB / 494.3 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.4033, allocations: 4 kB / 494.3 MB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.4033, allocations: 15.98 kB / 494.3 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4033, allocations: 3.938 kB / 494.3 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4033, allocations: 4 kB / 494.3 MB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.405, allocations: 0.7326 MB / 495 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.4051, allocations: 43.8 kB / 495.1 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.4052, allocations: 8 kB / 495.1 MB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.4056, allocations: 27.97 kB / 495.1 MB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.4056, allocations: 35.94 kB / 495.1 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.4056, allocations: 16 kB / 495.2 MB, free: 8.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.4058, allocations: 113.4 kB / 495.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4058, allocations: 4 kB / 495.3 MB, free: 8.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003074/0.4088, allocations: 0.955 MB / 496.2 MB, free: 7.355 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.00473/0.4136, allocations: 1.254 MB / 497.5 MB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.4147, allocations: 328 kB / 497.8 MB, free: 5.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4147, allocations: 4 kB / 497.8 MB, free: 5.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.4152, allocations: 174.7 kB / 498 MB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.416, allocations: 100.2 kB / 498.1 MB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4176, allocations: 0.6508 MB / 498.7 MB, free: 4.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.418, allocations: 0.749 MB / 499.5 MB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.4182, allocations: 51.39 kB / 499.5 MB, free: 3.973 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4183, allocations: 3.938 kB / 499.5 MB, free: 3.969 MB / 398.1 MB Notification: Performance of Templates: time 0.03452/0.4528, allocations: 20.2 MB / 0.5075 GB, free: 15.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 10.479246218921617]