Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001524/0.001524, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.00154/0.00154, allocations: 160.2 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.917e-05, allocations: 9.406 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2848/0.2848, allocations: 131.4 MB / 381.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2858, allocations: 0.5579 MB / 382.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.2859, allocations: 7.938 kB / 382.3 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.2863, allocations: 54.62 kB / 382.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.2867, allocations: 154.2 kB / 382.5 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.2899, allocations: 1.125 MB / 383.6 MB, free: 412 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004613/0.2903, allocations: 326.7 kB / 384 MB, free: 84 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.2904, allocations: 5.641 kB / 384 MB, free: 80 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.2908, allocations: 207.4 kB / 384.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.291, allocations: 119.6 kB / 384.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.291, allocations: 12 kB / 384.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.2936, allocations: 1.356 MB / 385.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2938, allocations: 71.84 kB / 385.7 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2939, allocations: 79.81 kB / 385.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.2958, allocations: 1.106 MB / 386.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2958, allocations: 4 kB / 386.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2958, allocations: 0 / 386.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2958, allocations: 4 kB / 386.9 MB, free: 13.12 MB / 330.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.001883/0.2977, allocations: 0.6019 MB / 387.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2977, allocations: 15.98 kB / 387.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2979, allocations: 32.78 kB / 387.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.2984, allocations: 157.6 kB / 387.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2984, allocations: 12.89 kB / 387.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.2985, allocations: 19.94 kB / 387.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.2992, allocations: 360.3 kB / 388.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.2992, allocations: 7.984 kB / 388.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.611e-05/0.2993, allocations: 8 kB / 388.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.2993, allocations: 11.94 kB / 388.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007238/0.3, allocations: 259.7 kB / 388.4 MB, free: 11.56 MB / 330.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.001548/0.3016, allocations: 0.6172 MB / 389 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.3023, allocations: 213.1 kB / 389.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3027, allocations: 125.6 kB / 389.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002286/0.3029, allocations: 44.84 kB / 389.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3029, allocations: 47.17 kB / 389.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.3029, allocations: 0 / 389.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0028/0.3057, allocations: 0.6755 MB / 390.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.3058, allocations: 88.98 kB / 390.2 MB, free: 9.664 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.306, allocations: 125.8 kB / 390.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.611e-05/0.306, allocations: 33.7 kB / 390.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.765e-05/0.3061, allocations: 108.9 kB / 390.5 MB, free: 9.379 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.3062, allocations: 126.9 kB / 390.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3064, allocations: 73.64 kB / 390.6 MB, free: 9.176 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.3066, allocations: 326.8 kB / 391 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.307, allocations: 131.9 kB / 391.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.3075, allocations: 203.6 kB / 391.3 MB, free: 8.492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.3084, allocations: 360.5 kB / 391.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3085, allocations: 0 / 391.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001147/0.3096, allocations: 434.7 kB / 392.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3096, allocations: 4.625 kB / 392.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3096, allocations: 4 kB / 392.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3096, allocations: 4 kB / 392.1 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.3102, allocations: 87.86 kB / 392.2 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3102, allocations: 4 kB / 392.2 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.3105, allocations: 40.08 kB / 392.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.3106, allocations: 8 kB / 392.2 MB, free: 7.539 MB / 330.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.0001859/0.3108, allocations: 141.8 kB / 392.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3109, allocations: 39.78 kB / 392.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.3113, allocations: 174.5 kB / 392.6 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3113, allocations: 4 kB / 392.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3113, allocations: 3.938 kB / 392.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3113, allocations: 0 / 392.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.3132, allocations: 0.6565 MB / 393.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.3132, allocations: 7.938 kB / 393.2 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004913/0.3137, allocations: 79.88 kB / 393.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3137, allocations: 4 kB / 393.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.3137, allocations: 16.14 kB / 393.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3137, allocations: 4 kB / 393.3 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3137, allocations: 0 / 393.3 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3154, allocations: 0.7304 MB / 394.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.3155, allocations: 35.86 kB / 394.1 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.3156, allocations: 12 kB / 394.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.316, allocations: 23.97 kB / 394.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.316, allocations: 27.89 kB / 394.2 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.3161, allocations: 12 kB / 394.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.268e-05/0.3161, allocations: 96.11 kB / 394.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3161, allocations: 4.062 kB / 394.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.3168, allocations: 143.7 kB / 394.4 MB, free: 5.246 MB / 330.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.0005471/0.3173, allocations: 251.5 kB / 394.7 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3185, allocations: 331.9 kB / 395 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3185, allocations: 3.938 kB / 395 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.319, allocations: 164.8 kB / 395.2 MB, free: 4.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.3198, allocations: 107.8 kB / 395.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.3213, allocations: 0.5513 MB / 395.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.3215, allocations: 120.9 kB / 395.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.3218, allocations: 81.89 kB / 396 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.322, allocations: 32.48 kB / 396 MB, free: 3.566 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.322, allocations: 0 / 396 MB, free: 3.566 MB / 330.7 MB Notification: Performance of Templates: time 0.01328/0.3353, allocations: 6.216 MB / 402.3 MB, free: 13.38 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.813765935017727]