Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002238/0.002238, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 51.91 kB / 378.2 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2189, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03386/0.2528, allocations: 24.03 MB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.2558, allocations: 2.014 MB / 457.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.2559, allocations: 4 kB / 457.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2562, allocations: 51.67 kB / 457.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.2566, allocations: 166.9 kB / 457.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/0.2725, allocations: 6.513 MB / 464.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000509/0.273, allocations: 350.6 kB / 464.7 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.273, allocations: 5.75 kB / 464.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.2733, allocations: 143.5 kB / 464.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.2735, allocations: 119.5 kB / 464.9 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.2735, allocations: 16 kB / 465 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.2901, allocations: 8.979 MB / 473.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2903, allocations: 75.84 kB / 474 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.2904, allocations: 87.66 kB / 474.1 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009704/0.3001, allocations: 4.685 MB / 478.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3001, allocations: 0 / 478.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3001, allocations: 0 / 478.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3002, allocations: 4 kB / 478.8 MB, free: 7.387 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.003306/0.3035, allocations: 1.098 MB / 479.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3035, allocations: 12.03 kB / 479.9 MB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.3037, allocations: 24.22 kB / 479.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3039, allocations: 164.9 kB / 480.1 MB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.304, allocations: 20.25 kB / 480.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.304, allocations: 19.95 kB / 480.1 MB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.3048, allocations: 392.2 kB / 480.5 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3048, allocations: 3.984 kB / 480.5 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3049, allocations: 8 kB / 480.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3049, allocations: 11.94 kB / 480.5 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008326/0.3057, allocations: 315.6 kB / 480.8 MB, free: 5.238 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.001465/0.3072, allocations: 0.6554 MB / 481.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.3079, allocations: 241.2 kB / 481.7 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.3083, allocations: 133.6 kB / 481.9 MB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.32, allocations: 2.682 MB / 484.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.3201, allocations: 34.56 kB / 484.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/0.3201, allocations: 0 / 484.6 MB, free: 1.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003/0.3231, allocations: 0.7066 MB / 485.3 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3232, allocations: 85.11 kB / 485.4 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3233, allocations: 149 kB / 485.5 MB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.3234, allocations: 33.7 kB / 485.5 MB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.3234, allocations: 112.9 kB / 485.7 MB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3236, allocations: 130.8 kB / 485.8 MB, free: 180 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3237, allocations: 81.58 kB / 485.9 MB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.3239, allocations: 330.8 kB / 486.2 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.3243, allocations: 135.9 kB / 486.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.3249, allocations: 211.6 kB / 486.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3259, allocations: 358.7 kB / 486.9 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3259, allocations: 3.938 kB / 486.9 MB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001231/0.3271, allocations: 424.7 kB / 487.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3271, allocations: 7.984 kB / 487.3 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3271, allocations: 4 kB / 487.3 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3271, allocations: 4 kB / 487.3 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.3276, allocations: 96.03 kB / 487.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3276, allocations: 7.938 kB / 487.4 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3279, allocations: 23.94 kB / 487.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.328, allocations: 19.98 kB / 487.5 MB, free: 14.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.0001732/0.3282, allocations: 145.7 kB / 487.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.3283, allocations: 23.89 kB / 487.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005106/0.3288, allocations: 190.7 kB / 487.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3288, allocations: 7.938 kB / 487.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3288, allocations: 0 / 487.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3288, allocations: 0 / 487.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3307, allocations: 0.6812 MB / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.3307, allocations: 4 kB / 488.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.3311, allocations: 80.03 kB / 488.6 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.3311, allocations: 4 kB / 488.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.3312, allocations: 16 kB / 488.6 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.3312, allocations: 7.984 kB / 488.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3312, allocations: 0 / 488.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3329, allocations: 0.7191 MB / 489.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.333, allocations: 51.78 kB / 489.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3331, allocations: 12 kB / 489.4 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.3334, allocations: 15.98 kB / 489.4 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3335, allocations: 35.95 kB / 489.4 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.3335, allocations: 15.98 kB / 489.5 MB, free: 12.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.975e-05/0.3336, allocations: 107.2 kB / 489.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3336, allocations: 0 / 489.6 MB, free: 12.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002545/0.3362, allocations: 0.9627 MB / 490.5 MB, free: 11.26 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.003789/0.3399, allocations: 1.254 MB / 491.8 MB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3411, allocations: 328 kB / 492.1 MB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3411, allocations: 4 kB / 492.1 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.3416, allocations: 174.3 kB / 492.3 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007875/0.3424, allocations: 108.1 kB / 492.4 MB, free: 9.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3439, allocations: 0.614 MB / 493 MB, free: 8.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.344, allocations: 137.8 kB / 493.1 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003664/0.3444, allocations: 90.16 kB / 493.2 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3446, allocations: 43.41 kB / 493.3 MB, free: 8.453 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3446, allocations: 0 / 493.3 MB, free: 8.453 MB / 398.1 MB Notification: Performance of Templates: time 0.04508/0.3896, allocations: 30.36 MB / 0.5113 GB, free: 10.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.361526658758521]