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.001733/0.001733, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002201/0.002201, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 7.797 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 43.94 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03245/0.2782, allocations: 24.02 MB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.2811, allocations: 2.021 MB / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.53e-05/0.2811, allocations: 0 / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.2815, allocations: 51.69 kB / 457.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.2819, allocations: 163 kB / 457.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0161/0.298, allocations: 6.5 MB / 463.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.2985, allocations: 350.6 kB / 464.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.2986, allocations: 9.75 kB / 464.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.2989, allocations: 147.5 kB / 464.3 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.2991, allocations: 131.5 kB / 464.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.2992, allocations: 12 kB / 464.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.3161, allocations: 9.3 MB / 473.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3162, allocations: 67.84 kB / 473.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.3164, allocations: 87.66 kB / 473.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.327, allocations: 4.689 MB / 478.6 MB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.327, allocations: 3.938 kB / 478.6 MB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.327, allocations: 0 / 478.6 MB, free: 7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.327, allocations: 0 / 478.6 MB, free: 7 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.003302/0.3303, allocations: 1.098 MB / 479.7 MB, free: 5.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3303, allocations: 8.031 kB / 479.7 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.688e-05/0.3304, allocations: 54.67 kB / 479.8 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3305, allocations: 24.03 kB / 479.8 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.3308, allocations: 168.9 kB / 480 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.3308, allocations: 12.33 kB / 480 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.3309, allocations: 23.95 kB / 480 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.3317, allocations: 388.2 kB / 480.4 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3317, allocations: 0 / 480.4 MB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3317, allocations: 12 kB / 480.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.3317, allocations: 11.92 kB / 480.4 MB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.3326, allocations: 311.7 kB / 480.7 MB, free: 4.801 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.001489/0.3341, allocations: 0.694 MB / 481.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007596/0.3348, allocations: 241.1 kB / 481.6 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.3351, allocations: 125.6 kB / 481.8 MB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01131/0.3464, allocations: 2.694 MB / 484.5 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.3465, allocations: 38.5 kB / 484.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.756e-06/0.3465, allocations: 0 / 484.5 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002953/0.3495, allocations: 0.6979 MB / 485.2 MB, free: 232 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.3495, allocations: 81.11 kB / 485.3 MB, free: 132 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3497, allocations: 152.4 kB / 485.4 MB, free: 15.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3497, allocations: 37.7 kB / 485.5 MB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.3498, allocations: 112.9 kB / 485.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.3499, allocations: 130.9 kB / 485.7 MB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.35, allocations: 77.59 kB / 485.8 MB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3502, allocations: 334.8 kB / 486.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.3506, allocations: 131.9 kB / 486.2 MB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3511, allocations: 215.6 kB / 486.4 MB, free: 14.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3521, allocations: 362.5 kB / 486.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3521, allocations: 3.938 kB / 486.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00126/0.3534, allocations: 417.2 kB / 487.2 MB, free: 14.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3534, allocations: 8 kB / 487.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3534, allocations: 0 / 487.2 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.3534, allocations: 7.938 kB / 487.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.3539, allocations: 91.86 kB / 487.3 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.3539, allocations: 12.16 kB / 487.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.3542, allocations: 27.88 kB / 487.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3543, allocations: 19.98 kB / 487.4 MB, free: 13.94 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.000156/0.3544, allocations: 141.7 kB / 487.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3546, allocations: 23.89 kB / 487.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.3551, allocations: 198.7 kB / 487.7 MB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3551, allocations: 7.938 kB / 487.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3551, allocations: 0 / 487.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3551, allocations: 0 / 487.7 MB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.357, allocations: 0.7198 MB / 488.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.357, allocations: 0 / 488.4 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.3574, allocations: 79.88 kB / 488.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.3575, allocations: 8.156 kB / 488.5 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.3575, allocations: 11.98 kB / 488.5 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3575, allocations: 7.938 kB / 488.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3575, allocations: 4 kB / 488.6 MB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3591, allocations: 0.7221 MB / 489.3 MB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3593, allocations: 47.84 kB / 489.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.3593, allocations: 8 kB / 489.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.3597, allocations: 23.98 kB / 489.4 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.3597, allocations: 27.89 kB / 489.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.3597, allocations: 19.98 kB / 489.4 MB, free: 11.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.3598, allocations: 114.1 kB / 489.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 4 kB / 489.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002782/0.3626, allocations: 0.9627 MB / 490.5 MB, free: 10.71 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.005563/0.3682, allocations: 2.408 MB / 492.9 MB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3692, allocations: 331.6 kB / 493.2 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3692, allocations: 0 / 493.2 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.3697, allocations: 168.5 kB / 493.4 MB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007543/0.3705, allocations: 95.89 kB / 493.5 MB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.3764, allocations: 3.266 MB / 496.7 MB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.3765, allocations: 129.8 kB / 496.9 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3768, allocations: 82.39 kB / 496.9 MB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.377, allocations: 79.38 kB / 497 MB, free: 3.941 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.377, allocations: 0 / 497 MB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/0.4522, allocations: 34.23 MB / 0.5188 GB, free: 1.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.82, allocations: 6.109 kB / 0.5188 GB, free: 1.895 MB / 430.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 15.872939652006608]