Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.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.001938/0.001938, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002413/0.002413, allocations: 165.3 kB / 24.27 MB, free: 148 kB / 18.57 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.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.64e-05, allocations: 2.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2857/0.2857, allocations: 133.3 MB / 405.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.288, allocations: 1.434 MB / 407 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.288, allocations: 4 kB / 407 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.2884, allocations: 61.72 kB / 407.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004603/0.2889, allocations: 177.4 kB / 407.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.2919, allocations: 1.062 MB / 408.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.2924, allocations: 366.4 kB / 408.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2925, allocations: 13.81 kB / 408.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.2929, allocations: 211.5 kB / 408.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002682/0.2932, allocations: 123.6 kB / 409 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2932, allocations: 12 kB / 409 MB, free: 8.371 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.296, allocations: 1.36 MB / 410.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.2961, allocations: 79.77 kB / 410.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2962, allocations: 87.81 kB / 410.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.298, allocations: 1.13 MB / 411.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.298, allocations: 0 / 411.7 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.827e-06/0.298, allocations: 4 kB / 411.7 MB, free: 5.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.298, allocations: 0 / 411.7 MB, free: 5.707 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.00187/0.2999, allocations: 0.6412 MB / 412.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2999, allocations: 8.031 kB / 412.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3001, allocations: 36.78 kB / 412.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3004, allocations: 157.7 kB / 412.5 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.3004, allocations: 20.27 kB / 412.6 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.3005, allocations: 19.95 kB / 412.6 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.3012, allocations: 368.2 kB / 412.9 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3012, allocations: 4 kB / 412.9 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.3012, allocations: 11.98 kB / 413 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.3013, allocations: 4 kB / 413 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.302, allocations: 259.7 kB / 413.2 MB, free: 4.105 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.001522/0.3035, allocations: 0.6213 MB / 413.8 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.3042, allocations: 206.7 kB / 414 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.3045, allocations: 130.1 kB / 414.2 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.3048, allocations: 49.08 kB / 414.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.3048, allocations: 46.5 kB / 414.3 MB, free: 2.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.017e-06/0.3048, allocations: 3.984 kB / 414.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002739/0.3075, allocations: 0.6925 MB / 415 MB, free: 2.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3076, allocations: 81.11 kB / 415 MB, free: 2.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3078, allocations: 144.1 kB / 415.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.3078, allocations: 29.7 kB / 415.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.3079, allocations: 112.9 kB / 415.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.308, allocations: 138.8 kB / 415.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3082, allocations: 73.67 kB / 415.5 MB, free: 1.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3084, allocations: 326.8 kB / 415.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.3088, allocations: 132.8 kB / 416 MB, free: 1.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004999/0.3093, allocations: 211.6 kB / 416.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/0.3102, allocations: 365 kB / 416.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3102, allocations: 0 / 416.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001331/0.3115, allocations: 429.1 kB / 416.9 MB, free: 184 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3115, allocations: 8 kB / 417 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3115, allocations: 0 / 417 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3116, allocations: 4 kB / 417 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.3121, allocations: 87.88 kB / 417 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3121, allocations: 4 kB / 417 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3125, allocations: 35.16 kB / 417.1 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.3125, allocations: 19.98 kB / 417.1 MB, free: 28 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.0001926/0.3127, allocations: 141.7 kB / 417.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3128, allocations: 35.89 kB / 417.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.3132, allocations: 176.9 kB / 417.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3132, allocations: 4 kB / 417.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3133, allocations: 0 / 417.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3133, allocations: 3.984 kB / 417.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3152, allocations: 0.6702 MB / 418.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3152, allocations: 4 kB / 418.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.3157, allocations: 75.89 kB / 418.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.3157, allocations: 7.984 kB / 418.2 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.3157, allocations: 12.16 kB / 418.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.3157, allocations: 4 kB / 418.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3157, allocations: 3.938 kB / 418.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3174, allocations: 0.726 MB / 419 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3175, allocations: 43.75 kB / 419 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.3176, allocations: 12 kB / 419 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.318, allocations: 19.98 kB / 419 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.318, allocations: 31.83 kB / 419.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.3181, allocations: 15.98 kB / 419.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.68e-05/0.3182, allocations: 106.1 kB / 419.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 4.062 kB / 419.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006593/0.3188, allocations: 155.7 kB / 419.3 MB, free: 13.69 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.0006238/0.3194, allocations: 246.7 kB / 419.6 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3204, allocations: 333.5 kB / 419.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3205, allocations: 0 / 419.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.3209, allocations: 168.5 kB / 420.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.3217, allocations: 109.9 kB / 420.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3232, allocations: 0.5803 MB / 420.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3234, allocations: 129.9 kB / 420.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.3238, allocations: 79.33 kB / 421 MB, free: 12.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3239, allocations: 36.48 kB / 421 MB, free: 11.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3239, allocations: 3.938 kB / 421 MB, free: 11.98 MB / 378.7 MB Notification: Performance of Templates: time 0.0136/0.3375, allocations: 6.512 MB / 427.5 MB, free: 5.586 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.834944264031947]