Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00124/0.00124, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001066/0.001066, allocations: 158.3 kB / 25.44 MB, free: 9.352 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 0.9069/0.9069, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.976e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02443/0.02446, allocations: 23.96 MB / 323.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.02688, allocations: 1.994 MB / 325.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.02702, allocations: 4 kB / 325.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.02746, allocations: 59.61 kB / 325.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.02789, allocations: 155 kB / 325.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01389/0.04177, allocations: 6.237 MB / 332.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.04221, allocations: 318.7 kB / 332.4 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.04227, allocations: 5.312 kB / 332.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.04256, allocations: 179.5 kB / 332.6 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.04276, allocations: 107.7 kB / 332.7 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.04278, allocations: 12 kB / 332.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.05603, allocations: 8.88 MB / 341.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.05617, allocations: 75.8 kB / 341.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.0563, allocations: 71.89 kB / 341.7 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.06895, allocations: 5.835 MB / 347.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.06896, allocations: 4 kB / 347.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.06896, allocations: 0 / 347.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.06897, allocations: 0 / 347.6 MB, free: 6.883 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.003322/0.07229, allocations: 1.055 MB / 348.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.07234, allocations: 11.98 kB / 348.6 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.07248, allocations: 36.55 kB / 348.7 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.07271, allocations: 149 kB / 348.8 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.07273, allocations: 12.33 kB / 348.8 MB, free: 5.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.07277, allocations: 27.97 kB / 348.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.0733, allocations: 388.2 kB / 349.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.07331, allocations: 0 / 349.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.07334, allocations: 12 kB / 349.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.07336, allocations: 4 kB / 349.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.07383, allocations: 307.8 kB / 349.6 MB, free: 4.801 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.0009949/0.07482, allocations: 0.6632 MB / 350.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.07526, allocations: 237.1 kB / 350.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.07543, allocations: 141.2 kB / 350.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00566/0.08109, allocations: 2.698 MB / 353.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.08112, allocations: 34.56 kB / 353.3 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/0.08113, allocations: 4 kB / 353.3 MB, free: 0.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001719/0.08285, allocations: 0.6958 MB / 354 MB, free: 260 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.08289, allocations: 81.11 kB / 354.1 MB, free: 160 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.08299, allocations: 125.8 kB / 354.2 MB, free: 24 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.139/0.222, allocations: 29.83 kB / 354.3 MB, free: 60.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.187e-05/0.2221, allocations: 108 kB / 354.4 MB, free: 60.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2222, allocations: 131.4 kB / 354.5 MB, free: 60.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.2224, allocations: 71.8 kB / 354.6 MB, free: 60.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.2224, allocations: 328 kB / 354.9 MB, free: 60.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004097/0.2228, allocations: 134.5 kB / 355 MB, free: 60.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.2233, allocations: 204.8 kB / 355.2 MB, free: 60.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007776/0.224, allocations: 365.6 kB / 355.6 MB, free: 60.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.224, allocations: 6.594 kB / 355.6 MB, free: 60.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008286/0.2249, allocations: 415.8 kB / 356 MB, free: 60.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.2249, allocations: 5.344 kB / 356 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2249, allocations: 2.5 kB / 356 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.2249, allocations: 7.656 kB / 356 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.2253, allocations: 90.2 kB / 356.1 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.2253, allocations: 7.766 kB / 356.1 MB, free: 60.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.2254, allocations: 30.92 kB / 356.1 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.2255, allocations: 19.03 kB / 356.1 MB, free: 60.14 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.0001351/0.2256, allocations: 140.9 kB / 356.3 MB, free: 60.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.84e-05/0.2257, allocations: 19.5 kB / 356.3 MB, free: 60 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.2261, allocations: 193.7 kB / 356.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2261, allocations: 8.219 kB / 356.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.2261, allocations: 1.062 kB / 356.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2261, allocations: 2.109 kB / 356.5 MB, free: 59.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.2273, allocations: 0.6555 MB / 357.1 MB, free: 59.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.2273, allocations: 1.812 kB / 357.1 MB, free: 59.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.2276, allocations: 80.19 kB / 357.2 MB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.2276, allocations: 3.375 kB / 357.2 MB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/0.2276, allocations: 11.42 kB / 357.2 MB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.788e-05/0.2276, allocations: 11.7 kB / 357.3 MB, free: 59.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2276, allocations: 6.938 kB / 357.3 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2287, allocations: 0.7014 MB / 358 MB, free: 59.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2288, allocations: 43.88 kB / 358 MB, free: 59.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2288, allocations: 12.23 kB / 358 MB, free: 59.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.229, allocations: 25.39 kB / 358 MB, free: 59.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.2291, allocations: 24.52 kB / 358.1 MB, free: 59.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-05/0.2291, allocations: 27.03 kB / 358.1 MB, free: 59.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.2292, allocations: 97.42 kB / 358.2 MB, free: 58.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2292, allocations: 0 / 358.2 MB, free: 58.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002829/0.232, allocations: 0.9361 MB / 359.1 MB, free: 58.92 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 (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.004042/0.236, allocations: 1.406 MB / 360.5 MB, free: 58.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008649/0.2369, allocations: 332.3 kB / 360.9 MB, free: 58.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2369, allocations: 3.938 kB / 360.9 MB, free: 58.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.2372, allocations: 164.9 kB / 361 MB, free: 58.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.2377, allocations: 103.9 kB / 361.1 MB, free: 58.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2389, allocations: 0.5621 MB / 361.7 MB, free: 58.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.239, allocations: 124.6 kB / 361.8 MB, free: 58.15 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.2391, allocations: 45.84 kB / 361.8 MB, free: 58.14 MB / 330.7 MB Notification: Performance of SimCode: time 2.194e-06/0.2391, allocations: 0 / 361.8 MB, free: 58.14 MB / 330.7 MB Notification: Performance of Templates: time 0.02834/0.2675, allocations: 21.29 MB / 383.1 MB, free: 42.43 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.264103268273175]