Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00152/0.00152, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001621/0.001621, allocations: 206.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.MoistAir") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 67.89 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.248, allocations: 53.32 MB / 432 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4412/0.6892, allocations: 155 MB / 0.5732 GB, free: 13.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.6912, allocations: 1.608 MB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.6914, allocations: 2.719 kB / 0.5748 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.6918, allocations: 68.31 kB / 0.5749 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004951/0.6923, allocations: 168 kB / 0.575 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.6951, allocations: 1.039 MB / 0.576 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.6956, allocations: 353 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.52e-05/0.6957, allocations: 10.56 kB / 0.5764 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.6961, allocations: 169 kB / 0.5766 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.6964, allocations: 138.3 kB / 0.5767 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.6964, allocations: 12.72 kB / 0.5767 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.6994, allocations: 1.666 MB / 0.5783 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.6996, allocations: 71.75 kB / 0.5784 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.6998, allocations: 105.5 kB / 0.5785 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.7023, allocations: 1.033 MB / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.7023, allocations: 0 / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7023, allocations: 0 / 0.5795 GB, free: 12.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.889e-05/0.7023, allocations: 5.203 kB / 0.5795 GB, free: 12.43 MB / 462.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.002195/0.7045, allocations: 0.7109 MB / 0.5802 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7045, allocations: 6.844 kB / 0.5802 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.7047, allocations: 25.88 kB / 0.5802 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.7051, allocations: 228.4 kB / 0.5804 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.7051, allocations: 8.047 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.7051, allocations: 23.83 kB / 0.5805 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.7057, allocations: 256.4 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.7057, allocations: 2.562 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.7058, allocations: 9.281 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.7058, allocations: 7.797 kB / 0.5807 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.7064, allocations: 269.2 kB / 0.581 GB, free: 11.64 MB / 462.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.001553/0.7079, allocations: 0.7923 MB / 0.5818 GB, free: 11.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.7085, allocations: 216.4 kB / 0.582 GB, free: 11.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.7088, allocations: 128.5 kB / 0.5821 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.7092, allocations: 356.2 kB / 0.5824 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7093, allocations: 45.56 kB / 0.5825 GB, free: 10.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.014e-06/0.7093, allocations: 0 / 0.5825 GB, free: 10.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002437/0.7117, allocations: 0.6809 MB / 0.5832 GB, free: 10.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.564e-05/0.7118, allocations: 84.45 kB / 0.5832 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.7119, allocations: 147 kB / 0.5834 GB, free: 10.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.712, allocations: 32.52 kB / 0.5834 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.712, allocations: 114 kB / 0.5835 GB, free: 10.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.7122, allocations: 130.5 kB / 0.5836 GB, free: 10.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.7123, allocations: 75.41 kB / 0.5837 GB, free: 10.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7124, allocations: 330.3 kB / 0.584 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.7128, allocations: 134.5 kB / 0.5842 GB, free: 9.738 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.7132, allocations: 205.1 kB / 0.5843 GB, free: 9.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.714, allocations: 359.8 kB / 0.5847 GB, free: 9.516 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.714, allocations: 0 / 0.5847 GB, free: 9.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009426/0.7149, allocations: 411.6 kB / 0.5851 GB, free: 9.402 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.715, allocations: 7.875 kB / 0.5851 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.715, allocations: 3.75 kB / 0.5851 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.715, allocations: 2.656 kB / 0.5851 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.7155, allocations: 91.53 kB / 0.5852 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7155, allocations: 10.02 kB / 0.5852 GB, free: 9.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.7158, allocations: 28.83 kB / 0.5852 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.7158, allocations: 16.25 kB / 0.5852 GB, free: 9.359 MB / 462.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.0001664/0.716, allocations: 141.5 kB / 0.5854 GB, free: 9.238 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.621e-05/0.7161, allocations: 18 kB / 0.5854 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.7165, allocations: 176.7 kB / 0.5856 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7165, allocations: 5.344 kB / 0.5856 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7165, allocations: 3.938 kB / 0.5856 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.7165, allocations: 3.984 kB / 0.5856 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.7183, allocations: 0.7894 MB / 0.5863 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.7183, allocations: 2.156 kB / 0.5863 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.7187, allocations: 72.17 kB / 0.5864 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.7187, allocations: 2.625 kB / 0.5864 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.7187, allocations: 15.52 kB / 0.5864 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.7187, allocations: 6.844 kB / 0.5864 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.7187, allocations: 3.672 kB / 0.5864 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.7201, allocations: 0.7227 MB / 0.5871 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.7203, allocations: 124.7 kB / 0.5873 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.7203, allocations: 15.44 kB / 0.5873 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.7207, allocations: 21.67 kB / 0.5873 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.7207, allocations: 24.03 kB / 0.5873 GB, free: 8.133 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.7208, allocations: 17.36 kB / 0.5873 GB, free: 8.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.719e-05/0.7208, allocations: 108.2 kB / 0.5874 GB, free: 8.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7208, allocations: 0 / 0.5874 GB, free: 8.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006457/0.7215, allocations: 154.3 kB / 0.5876 GB, free: 8.023 MB / 462.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 (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.0005843/0.7221, allocations: 244.7 kB / 0.5878 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008798/0.723, allocations: 330.8 kB / 0.5881 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.723, allocations: 2.312 kB / 0.5881 GB, free: 7.805 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.7234, allocations: 175.4 kB / 0.5883 GB, free: 7.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.7241, allocations: 102.1 kB / 0.5884 GB, free: 7.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.7256, allocations: 0.6656 MB / 0.5891 GB, free: 7.285 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.726, allocations: 0.7394 MB / 0.5898 GB, free: 6.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.7262, allocations: 42.48 kB / 0.5898 GB, free: 6.551 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7262, allocations: 0 / 0.5898 GB, free: 6.551 MB / 462.1 MB Notification: Performance of Templates: time 0.008799/0.735, allocations: 4.797 MB / 0.5945 GB, free: 4.062 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.690408082213253]