Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 115.7 kB / 18.49 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 194.5 kB / 21.43 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 249.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 51.91 kB / 366.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09545, allocations: 52.14 MB / 418.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3522/0.4476, allocations: 151.9 MB / 0.557 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.4499, allocations: 1.597 MB / 0.5585 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.45, allocations: 0 / 0.5585 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.4504, allocations: 70.64 kB / 0.5586 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.4508, allocations: 156 kB / 0.5588 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.4537, allocations: 1.026 MB / 0.5598 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.4542, allocations: 322.9 kB / 0.5601 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.4543, allocations: 16.06 kB / 0.5601 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.4546, allocations: 151.5 kB / 0.5602 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.4548, allocations: 135.5 kB / 0.5604 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.4549, allocations: 20 kB / 0.5604 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.4577, allocations: 1.626 MB / 0.562 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.4578, allocations: 63.84 kB / 0.562 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.458, allocations: 95.64 kB / 0.5621 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.4596, allocations: 1.001 MB / 0.5631 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4596, allocations: 0 / 0.5631 GB, free: 8.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4596, allocations: 0 / 0.5631 GB, free: 8.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4596, allocations: 0 / 0.5631 GB, free: 8.18 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.001847/0.4614, allocations: 0.6812 MB / 0.5638 GB, free: 7.449 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4614, allocations: 12.03 kB / 0.5638 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.4615, allocations: 4.516 kB / 0.5638 GB, free: 7.434 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.4615, allocations: 54.73 kB / 0.5638 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4617, allocations: 25.2 kB / 0.5639 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.462, allocations: 214.7 kB / 0.5641 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.462, allocations: 17.45 kB / 0.5641 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.462, allocations: 18.47 kB / 0.5641 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.4626, allocations: 265.4 kB / 0.5643 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4626, allocations: 0 / 0.5643 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.4627, allocations: 8 kB / 0.5644 GB, free: 6.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.4627, allocations: 4 kB / 0.5644 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.4634, allocations: 263.8 kB / 0.5646 GB, free: 6.527 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.001513/0.4649, allocations: 0.8092 MB / 0.5654 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.4655, allocations: 209.2 kB / 0.5656 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.4658, allocations: 125.6 kB / 0.5657 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/0.4662, allocations: 356.4 kB / 0.5661 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4663, allocations: 39.11 kB / 0.5661 GB, free: 4.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.4663, allocations: 0 / 0.5661 GB, free: 4.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.00258/0.4689, allocations: 0.6736 MB / 0.5668 GB, free: 4.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.4689, allocations: 85.09 kB / 0.5668 GB, free: 4.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4691, allocations: 121.8 kB / 0.5669 GB, free: 3.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.4691, allocations: 29.7 kB / 0.567 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.4692, allocations: 116.7 kB / 0.5671 GB, free: 3.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.4693, allocations: 134.8 kB / 0.5672 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.4694, allocations: 65.69 kB / 0.5673 GB, free: 3.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4696, allocations: 322.8 kB / 0.5676 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.47, allocations: 139.9 kB / 0.5677 GB, free: 3.094 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.4704, allocations: 207.5 kB / 0.5679 GB, free: 2.863 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/0.4713, allocations: 360.9 kB / 0.5683 GB, free: 2.488 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4713, allocations: 4.75 kB / 0.5683 GB, free: 2.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001034/0.4723, allocations: 397.2 kB / 0.5686 GB, free: 2.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.4723, allocations: 11.98 kB / 0.5687 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4723, allocations: 0 / 0.5687 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.4723, allocations: 4 kB / 0.5687 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.4729, allocations: 92.09 kB / 0.5687 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4729, allocations: 7.938 kB / 0.5688 GB, free: 1.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4732, allocations: 36.5 kB / 0.5688 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.4732, allocations: 19.98 kB / 0.5688 GB, free: 1.922 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.000165/0.4734, allocations: 138.4 kB / 0.5689 GB, free: 1.777 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.4735, allocations: 15.91 kB / 0.569 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.4739, allocations: 175.8 kB / 0.5691 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4739, allocations: 4 kB / 0.5691 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4739, allocations: 4 kB / 0.5691 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.4739, allocations: 11.92 kB / 0.5691 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4757, allocations: 0.7638 MB / 0.5699 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4757, allocations: 4 kB / 0.5699 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.4762, allocations: 79.88 kB / 0.57 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4762, allocations: 4 kB / 0.57 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.4762, allocations: 8 kB / 0.57 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4762, allocations: 8.156 kB / 0.57 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4762, allocations: 3.938 kB / 0.57 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.4777, allocations: 0.7067 MB / 0.5707 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.4778, allocations: 125.1 kB / 0.5708 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.4779, allocations: 8 kB / 0.5708 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.4782, allocations: 15.98 kB / 0.5708 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.4783, allocations: 27.91 kB / 0.5709 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.4783, allocations: 19.98 kB / 0.5709 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.4784, allocations: 99.52 kB / 0.571 GB, free: 15.58 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4784, allocations: 0 / 0.571 GB, free: 15.58 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000592/0.479, allocations: 147.7 kB / 0.5711 GB, free: 15.43 MB / 478.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.002148/0.4811, allocations: 1.364 MB / 0.5724 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009635/0.4821, allocations: 332.6 kB / 0.5728 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4821, allocations: 0 / 0.5728 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.4825, allocations: 177.3 kB / 0.5729 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.4833, allocations: 105.1 kB / 0.573 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005034/0.4883, allocations: 2.809 MB / 0.5758 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4887, allocations: 0.7371 MB / 0.5765 GB, free: 9.707 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003318/0.489, allocations: 74.05 kB / 0.5766 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.4892, allocations: 67.41 kB / 0.5766 GB, free: 9.566 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4892, allocations: 0 / 0.5766 GB, free: 9.566 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.5203, allocations: 8.12 MB / 0.5846 GB, free: 1.578 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.775, allocations: 8.062 kB / 0.5846 GB, free: 1.57 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 11.21096617396688]