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.001276/0.001276, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001298/0.001298, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.348/1.348, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.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.001432/0.001432, allocations: 43.92 kB / 371.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2493, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4008/0.6501, allocations: 151.9 MB / 0.5619 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.6515, allocations: 1.601 MB / 0.5634 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.6516, allocations: 0 / 0.5634 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.6519, allocations: 68.17 kB / 0.5635 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.6522, allocations: 157.9 kB / 0.5636 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.6549, allocations: 1.036 MB / 0.5646 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.6553, allocations: 326.5 kB / 0.565 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.6553, allocations: 17.61 kB / 0.565 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.6555, allocations: 159.5 kB / 0.5651 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.6558, allocations: 133.8 kB / 0.5653 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.6558, allocations: 10.62 kB / 0.5653 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.658, allocations: 1.645 MB / 0.5669 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.6581, allocations: 73.94 kB / 0.5669 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.6582, allocations: 91.77 kB / 0.567 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.6593, allocations: 0.9955 MB / 0.568 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6593, allocations: 2.688 kB / 0.568 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6593, allocations: 0 / 0.568 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.6593, allocations: 4 kB / 0.568 GB, free: 13.12 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.001618/0.6609, allocations: 0.6056 MB / 0.5686 GB, free: 12.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.661, allocations: 12.16 kB / 0.5686 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.661, allocations: 3.422 kB / 0.5686 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.6611, allocations: 50.61 kB / 0.5687 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.6612, allocations: 23.38 kB / 0.5687 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.6614, allocations: 161.3 kB / 0.5688 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6615, allocations: 8.703 kB / 0.5688 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.6615, allocations: 19.12 kB / 0.5689 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.662, allocations: 268 kB / 0.5691 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.6621, allocations: 0 / 0.5691 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.6621, allocations: 9.594 kB / 0.5691 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.6621, allocations: 6.266 kB / 0.5691 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.6627, allocations: 268.2 kB / 0.5694 GB, free: 12.48 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.001362/0.664, allocations: 0.7606 MB / 0.5701 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.6646, allocations: 215.8 kB / 0.5703 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.6649, allocations: 136.6 kB / 0.5705 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/0.6651, allocations: 43.38 kB / 0.5705 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6651, allocations: 39.44 kB / 0.5705 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.392e-06/0.6651, allocations: 0 / 0.5705 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002287/0.6674, allocations: 0.6787 MB / 0.5712 GB, free: 11.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.6675, allocations: 86.39 kB / 0.5713 GB, free: 11.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.6676, allocations: 119.9 kB / 0.5714 GB, free: 11.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.6676, allocations: 34.89 kB / 0.5714 GB, free: 11.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.6677, allocations: 105.1 kB / 0.5715 GB, free: 11.47 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.982e-05/0.6678, allocations: 134.1 kB / 0.5717 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.6679, allocations: 63.94 kB / 0.5717 GB, free: 11.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.668, allocations: 327.8 kB / 0.572 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.6684, allocations: 139.8 kB / 0.5722 GB, free: 11.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.6688, allocations: 215.9 kB / 0.5724 GB, free: 10.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.6695, allocations: 349.2 kB / 0.5727 GB, free: 10.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6695, allocations: 2.5 kB / 0.5727 GB, free: 10.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008555/0.6704, allocations: 409.6 kB / 0.5731 GB, free: 10.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6704, allocations: 5.125 kB / 0.5731 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6704, allocations: 2.688 kB / 0.5731 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6704, allocations: 9.375 kB / 0.5731 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.6708, allocations: 86.19 kB / 0.5732 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.6708, allocations: 4.203 kB / 0.5732 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.6711, allocations: 36.03 kB / 0.5732 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.6712, allocations: 20.06 kB / 0.5733 GB, free: 10.79 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.0001503/0.6713, allocations: 143 kB / 0.5734 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.6714, allocations: 20.16 kB / 0.5734 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.6718, allocations: 170.6 kB / 0.5736 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6718, allocations: 9.375 kB / 0.5736 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6718, allocations: 0 / 0.5736 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.6718, allocations: 6.094 kB / 0.5736 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.6734, allocations: 0.7322 MB / 0.5743 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6734, allocations: 2.438 kB / 0.5743 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6738, allocations: 75.91 kB / 0.5744 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6738, allocations: 13.31 kB / 0.5744 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.6738, allocations: 11.83 kB / 0.5744 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6738, allocations: 2.125 kB / 0.5744 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6738, allocations: 2.656 kB / 0.5744 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6751, allocations: 0.7134 MB / 0.5751 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.6752, allocations: 40.59 kB / 0.5751 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.6752, allocations: 14.64 kB / 0.5752 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.6755, allocations: 17.97 kB / 0.5752 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.6756, allocations: 31.03 kB / 0.5752 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.6756, allocations: 17.77 kB / 0.5752 GB, free: 9.969 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.6757, allocations: 101.4 kB / 0.5753 GB, free: 9.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6757, allocations: 0 / 0.5753 GB, free: 9.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.6762, allocations: 141 kB / 0.5755 GB, free: 9.871 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.00193/0.6782, allocations: 1.368 MB / 0.5768 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007942/0.679, allocations: 330.4 kB / 0.5771 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.679, allocations: 0 / 0.5771 GB, free: 9.023 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.6793, allocations: 172.9 kB / 0.5773 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.68, allocations: 106.3 kB / 0.5774 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.6843, allocations: 2.821 MB / 0.5801 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.6847, allocations: 0.7361 MB / 0.5808 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.685, allocations: 78.89 kB / 0.5809 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6851, allocations: 66.16 kB / 0.581 GB, free: 6.434 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6851, allocations: 0 / 0.581 GB, free: 6.434 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.7162, allocations: 8.467 MB / 0.5893 GB, free: 2.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.67, allocations: 13.97 kB / 0.5893 GB, free: 2.164 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.10961819801014]