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.00172/0.00172, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.0021/0.0021, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.498/1.498, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001668/0.001668, allocations: 47.92 kB / 373.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09496, allocations: 53.32 MB / 426.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2067/0.3016, allocations: 26.74 MB / 453.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3048, allocations: 2.249 MB / 455.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.3049, allocations: 1.031 kB / 455.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.3052, allocations: 69.83 kB / 455.9 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.3057, allocations: 172.6 kB / 456 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01781/0.3235, allocations: 6.555 MB / 462.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.324, allocations: 335.7 kB / 462.9 MB, free: 6.055 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.3241, allocations: 5.812 kB / 462.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.3243, allocations: 149 kB / 463.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.3245, allocations: 132.3 kB / 463.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3246, allocations: 11.53 kB / 463.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/0.3437, allocations: 9.657 MB / 472.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3438, allocations: 78.34 kB / 472.9 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.344, allocations: 101.6 kB / 473 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.3566, allocations: 4.733 MB / 477.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3566, allocations: 4 kB / 477.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3566, allocations: 0 / 477.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3566, allocations: 4 kB / 477.8 MB, free: 13.68 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.004503/0.3611, allocations: 1.185 MB / 479 MB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3611, allocations: 8.031 kB / 479 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.3613, allocations: 28.41 kB / 479 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3616, allocations: 224 kB / 479.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.3617, allocations: 16.25 kB / 479.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.788e-05/0.3617, allocations: 21.17 kB / 479.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008138/0.3625, allocations: 289.5 kB / 479.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3625, allocations: 0 / 479.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3626, allocations: 4 kB / 479.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.3626, allocations: 8 kB / 479.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.3635, allocations: 315.6 kB / 479.9 MB, free: 11.5 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.00163/0.3651, allocations: 0.8248 MB / 480.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008479/0.366, allocations: 239.1 kB / 480.9 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.3663, allocations: 126.4 kB / 481 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/0.3849, allocations: 12.85 MB / 493.9 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/0.385, allocations: 43.7 kB / 493.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.013e-06/0.385, allocations: 0 / 493.9 MB, free: 10.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003311/0.3883, allocations: 0.7064 MB / 494.6 MB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3883, allocations: 81.11 kB / 494.7 MB, free: 9.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3885, allocations: 143.5 kB / 494.8 MB, free: 9.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.3885, allocations: 33.7 kB / 494.9 MB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.3886, allocations: 112.9 kB / 495 MB, free: 9.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3887, allocations: 130.9 kB / 495.1 MB, free: 9.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.3889, allocations: 73.61 kB / 495.2 MB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3891, allocations: 338.8 kB / 495.5 MB, free: 9.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.3895, allocations: 131.9 kB / 495.6 MB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.3901, allocations: 207.6 kB / 495.9 MB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3912, allocations: 361 kB / 496.2 MB, free: 8.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3912, allocations: 0 / 496.2 MB, free: 8.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001335/0.3925, allocations: 428.7 kB / 496.6 MB, free: 7.988 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3925, allocations: 4.844 kB / 496.6 MB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3925, allocations: 11.98 kB / 496.6 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3925, allocations: 4 kB / 496.6 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.3931, allocations: 91.81 kB / 496.7 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3931, allocations: 7.938 kB / 496.7 MB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.3934, allocations: 31.42 kB / 496.8 MB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.3935, allocations: 19.98 kB / 496.8 MB, free: 7.824 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.0001729/0.3936, allocations: 145.8 kB / 496.9 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3938, allocations: 23.86 kB / 497 MB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.3943, allocations: 179.3 kB / 497.1 MB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3943, allocations: 11.94 kB / 497.1 MB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3943, allocations: 7.938 kB / 497.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3943, allocations: 0 / 497.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.3963, allocations: 0.7775 MB / 497.9 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3963, allocations: 0 / 497.9 MB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.3968, allocations: 83.88 kB / 498 MB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.3968, allocations: 4.156 kB / 498 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.3969, allocations: 17.39 kB / 498 MB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.3969, allocations: 7.938 kB / 498 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3969, allocations: 0 / 498 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.3987, allocations: 0.7219 MB / 498.8 MB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3988, allocations: 124.8 kB / 498.9 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.3989, allocations: 8 kB / 498.9 MB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.3993, allocations: 23.97 kB / 498.9 MB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.3993, allocations: 27.91 kB / 498.9 MB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.3993, allocations: 19.98 kB / 499 MB, free: 5.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.744e-05/0.3994, allocations: 109.2 kB / 499.1 MB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3994, allocations: 4 kB / 499.1 MB, free: 5.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003157/0.4026, allocations: 0.9628 MB / 0.4883 GB, free: 4.449 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.004381/0.407, allocations: 1.251 MB / 0.4895 GB, free: 3.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4082, allocations: 327.6 kB / 0.4898 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4082, allocations: 0 / 0.4898 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.4087, allocations: 178.7 kB / 0.49 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.4095, allocations: 105.3 kB / 0.4901 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.4111, allocations: 0.6238 MB / 0.4907 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4115, allocations: 0.7335 MB / 0.4914 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.4118, allocations: 91.66 kB / 0.4915 GB, free: 1.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.412, allocations: 39.42 kB / 0.4916 GB, free: 1.059 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.412, allocations: 0 / 0.4916 GB, free: 1.059 MB / 398.1 MB Notification: Performance of Templates: time 0.04586/0.4578, allocations: 29.95 MB / 0.5208 GB, free: 3.141 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.3717872351408005]