Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001379/0.001379, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00149/0.00149, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.91 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2355, allocations: 53.38 MB / 431.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.395/0.6305, allocations: 133.3 MB / 0.5511 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.632, allocations: 1.439 MB / 0.5525 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.6321, allocations: 1.25 kB / 0.5525 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.6324, allocations: 60.83 kB / 0.5526 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.6328, allocations: 169.5 kB / 0.5527 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.6353, allocations: 1.052 MB / 0.5538 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.6357, allocations: 352 kB / 0.5541 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.6357, allocations: 5.875 kB / 0.5541 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.636, allocations: 183.6 kB / 0.5543 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.6362, allocations: 129.8 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.6362, allocations: 12.38 kB / 0.5544 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.6383, allocations: 1.359 MB / 0.5557 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.6384, allocations: 75.97 kB / 0.5558 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.6385, allocations: 89.61 kB / 0.5559 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.6398, allocations: 0.9939 MB / 0.5569 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6398, allocations: 0 / 0.5569 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6398, allocations: 0 / 0.5569 GB, free: 15.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.6398, allocations: 4 kB / 0.5569 GB, free: 15.61 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.001659/0.6415, allocations: 0.6386 MB / 0.5575 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6415, allocations: 9.375 kB / 0.5575 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.6416, allocations: 51.77 kB / 0.5575 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.6417, allocations: 22.28 kB / 0.5576 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.642, allocations: 162.8 kB / 0.5577 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.642, allocations: 16.36 kB / 0.5577 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.642, allocations: 17.14 kB / 0.5578 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.6426, allocations: 367.5 kB / 0.5581 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6426, allocations: 2.406 kB / 0.5581 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.6427, allocations: 11.78 kB / 0.5581 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.6427, allocations: 8 kB / 0.5581 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.6432, allocations: 262.3 kB / 0.5584 GB, free: 14.83 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.001334/0.6446, allocations: 0.6534 MB / 0.559 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.6451, allocations: 215.6 kB / 0.5592 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.6454, allocations: 127.6 kB / 0.5593 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.6456, allocations: 49.59 kB / 0.5594 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6456, allocations: 42.34 kB / 0.5594 GB, free: 14.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.6456, allocations: 0 / 0.5594 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002206/0.6478, allocations: 0.6813 MB / 0.5601 GB, free: 14.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.6479, allocations: 80.58 kB / 0.5602 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.648, allocations: 145.5 kB / 0.5603 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.6481, allocations: 30.34 kB / 0.5603 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.6481, allocations: 116.5 kB / 0.5605 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6482, allocations: 137.6 kB / 0.5606 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.6483, allocations: 70.33 kB / 0.5606 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6485, allocations: 329.2 kB / 0.561 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.6488, allocations: 132.5 kB / 0.5611 GB, free: 13.51 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.6492, allocations: 209.6 kB / 0.5613 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.65, allocations: 368.3 kB / 0.5616 GB, free: 13.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.65, allocations: 0 / 0.5616 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008472/0.6508, allocations: 408.4 kB / 0.562 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6508, allocations: 5.688 kB / 0.562 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6508, allocations: 2.969 kB / 0.562 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6508, allocations: 4.547 kB / 0.562 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.6513, allocations: 88.22 kB / 0.5621 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.6513, allocations: 6.609 kB / 0.5621 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.6516, allocations: 36.33 kB / 0.5622 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.6516, allocations: 17.7 kB / 0.5622 GB, free: 13.29 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.0001506/0.6518, allocations: 145.8 kB / 0.5623 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.6518, allocations: 19.16 kB / 0.5623 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.6522, allocations: 184.6 kB / 0.5625 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6522, allocations: 6.094 kB / 0.5625 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6522, allocations: 0 / 0.5625 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6522, allocations: 6.938 kB / 0.5625 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.6538, allocations: 0.7102 MB / 0.5632 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6538, allocations: 3.312 kB / 0.5632 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.6542, allocations: 74.89 kB / 0.5633 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.6542, allocations: 2.938 kB / 0.5633 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.6543, allocations: 16.34 kB / 0.5633 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.6543, allocations: 12.88 kB / 0.5633 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6543, allocations: 2.344 kB / 0.5633 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.6556, allocations: 0.7223 MB / 0.564 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.6558, allocations: 39.78 kB / 0.5641 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.6558, allocations: 6.219 kB / 0.5641 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.6562, allocations: 24.55 kB / 0.5641 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.6562, allocations: 25.44 kB / 0.5641 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.6562, allocations: 16.72 kB / 0.5641 GB, free: 12.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.449e-05/0.6563, allocations: 110.3 kB / 0.5642 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6563, allocations: 4.062 kB / 0.5643 GB, free: 12.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006406/0.6569, allocations: 156.5 kB / 0.5644 GB, free: 12.38 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.002135/0.6591, allocations: 1.396 MB / 0.5658 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.6599, allocations: 323.4 kB / 0.5661 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6599, allocations: 1.094 kB / 0.5661 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.6603, allocations: 173.7 kB / 0.5662 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.661, allocations: 111.8 kB / 0.5663 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.6655, allocations: 2.92 MB / 0.5692 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.6657, allocations: 132.2 kB / 0.5693 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.666, allocations: 72.33 kB / 0.5694 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.6662, allocations: 75.09 kB / 0.5695 GB, free: 9.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6662, allocations: 0 / 0.5695 GB, free: 9.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.7039, allocations: 9.611 MB / 0.5789 GB, free: 7.246 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.11, allocations: 13.72 kB / 0.5789 GB, free: 7.238 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 14.564341035671532]