Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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.00145/0.00145, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.00158/0.00158, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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.468/1.468, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.843e-05, allocations: 2.312 kB / 272.2 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2855/0.2855, allocations: 133.3 MB / 405.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2877, allocations: 1.43 MB / 406.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.2878, allocations: 3.938 kB / 406.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.2881, allocations: 58.61 kB / 407 MB, free: 10.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004161/0.2885, allocations: 177 kB / 407.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.2913, allocations: 1.073 MB / 408.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.2918, allocations: 358.5 kB / 408.6 MB, free: 8.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.2918, allocations: 9.797 kB / 408.6 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2922, allocations: 207.5 kB / 408.8 MB, free: 8.613 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.2924, allocations: 123.7 kB / 408.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.2924, allocations: 12 kB / 408.9 MB, free: 8.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.2948, allocations: 1.38 MB / 410.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.2949, allocations: 75.78 kB / 410.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.295, allocations: 83.81 kB / 410.5 MB, free: 6.941 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.2967, allocations: 1.134 MB / 411.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2967, allocations: 0 / 411.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2967, allocations: 0 / 411.6 MB, free: 5.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2967, allocations: 0 / 411.6 MB, free: 5.805 MB / 362.7 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.00179/0.2985, allocations: 0.6217 MB / 412.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2985, allocations: 23.97 kB / 412.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.2987, allocations: 37.66 kB / 412.3 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.299, allocations: 166.4 kB / 412.4 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.299, allocations: 16.27 kB / 412.4 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.2991, allocations: 23.89 kB / 412.5 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.2998, allocations: 372.2 kB / 412.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2998, allocations: 0 / 412.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.2998, allocations: 8 kB / 412.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.2999, allocations: 12 kB / 412.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.3006, allocations: 264.4 kB / 413.1 MB, free: 4.191 MB / 362.7 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.001462/0.302, allocations: 0.6133 MB / 413.7 MB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.3029, allocations: 211.1 kB / 413.9 MB, free: 3.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.3033, allocations: 127.2 kB / 414.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.3035, allocations: 51.95 kB / 414.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3035, allocations: 46.44 kB / 414.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.3035, allocations: 0 / 414.1 MB, free: 3.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002641/0.3062, allocations: 0.6936 MB / 414.8 MB, free: 2.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.3062, allocations: 85.09 kB / 414.9 MB, free: 2.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.3064, allocations: 137.8 kB / 415.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.3064, allocations: 33.7 kB / 415.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.3065, allocations: 108.9 kB / 415.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.3066, allocations: 138.8 kB / 415.3 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3068, allocations: 61.69 kB / 415.4 MB, free: 1.781 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.307, allocations: 334.8 kB / 415.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.3074, allocations: 131.9 kB / 415.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.3078, allocations: 203.6 kB / 416.1 MB, free: 1.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009208/0.3088, allocations: 371.7 kB / 416.4 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3088, allocations: 0 / 416.4 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001087/0.3098, allocations: 425.8 kB / 416.8 MB, free: 288 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3099, allocations: 4 kB / 416.8 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3099, allocations: 4 kB / 416.8 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3099, allocations: 4.562 kB / 416.8 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.3104, allocations: 87.88 kB / 416.9 MB, free: 188 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3104, allocations: 7.984 kB / 416.9 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.3107, allocations: 27.81 kB / 417 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.3108, allocations: 22.55 kB / 417 MB, free: 132 kB / 362.7 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.0002013/0.311, allocations: 145.8 kB / 417.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.3111, allocations: 31.91 kB / 417.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.3115, allocations: 176.6 kB / 417.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3115, allocations: 8 kB / 417.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3115, allocations: 4 kB / 417.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3115, allocations: 3.984 kB / 417.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.3133, allocations: 0.6728 MB / 418 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3133, allocations: 0 / 418 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.3138, allocations: 75.89 kB / 418.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3138, allocations: 0 / 418.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3138, allocations: 15.98 kB / 418.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3138, allocations: 0 / 418.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.3138, allocations: 12.03 kB / 418.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3155, allocations: 0.7258 MB / 418.8 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.3156, allocations: 47.84 kB / 418.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3156, allocations: 8 kB / 418.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.316, allocations: 19.92 kB / 418.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3161, allocations: 31.89 kB / 419 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.3161, allocations: 15.98 kB / 419 MB, free: 14.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.503e-05/0.3162, allocations: 103.2 kB / 419.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3162, allocations: 4 kB / 419.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006157/0.3168, allocations: 151.7 kB / 419.2 MB, free: 13.79 MB / 378.7 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 (38): * Single equations (assignments): 38 * 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.0005218/0.3173, allocations: 254.7 kB / 419.5 MB, free: 13.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009705/0.3183, allocations: 328 kB / 419.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3183, allocations: 0 / 419.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.3188, allocations: 176.4 kB / 420 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/0.3196, allocations: 119.9 kB / 420.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.321, allocations: 0.5689 MB / 420.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3212, allocations: 129.9 kB / 420.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.3215, allocations: 78.22 kB / 420.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3217, allocations: 44.47 kB / 420.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3217, allocations: 4 kB / 420.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01298/0.3346, allocations: 6.496 MB / 427.4 MB, free: 5.688 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.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: 4.747470031026751]