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.001303/0.001303, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001331/0.001331, allocations: 181.9 kB / 23.72 MB, free: 4.699 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.342/1.342, allocations: 225.6 MB / 252.5 MB, free: 13.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 47.92 kB / 370.4 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3931/0.6206, allocations: 152 MB / 0.5611 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.622, allocations: 1.595 MB / 0.5627 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.6221, allocations: 3.938 kB / 0.5627 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.6225, allocations: 58.53 kB / 0.5627 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.6228, allocations: 157.9 kB / 0.5629 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.6253, allocations: 1.039 MB / 0.5639 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.6258, allocations: 335.2 kB / 0.5642 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.6258, allocations: 8.938 kB / 0.5642 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.6261, allocations: 159 kB / 0.5644 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.6263, allocations: 124 kB / 0.5645 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.6263, allocations: 10.25 kB / 0.5645 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.6287, allocations: 1.651 MB / 0.5661 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.6288, allocations: 78.44 kB / 0.5662 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.6289, allocations: 92.64 kB / 0.5663 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.6307, allocations: 0.9983 MB / 0.5672 GB, free: 13.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6307, allocations: 2.156 kB / 0.5672 GB, free: 13.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6307, allocations: 1.203 kB / 0.5672 GB, free: 13.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.6307, allocations: 0 / 0.5672 GB, free: 13.1 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.001823/0.6325, allocations: 0.6022 MB / 0.5678 GB, free: 12.71 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6326, allocations: 8.219 kB / 0.5678 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.6326, allocations: 52.5 kB / 0.5679 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.6328, allocations: 26.78 kB / 0.5679 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.6331, allocations: 159.7 kB / 0.5681 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6331, allocations: 14.39 kB / 0.5681 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.6331, allocations: 14.41 kB / 0.5681 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.6337, allocations: 265.2 kB / 0.5683 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6337, allocations: 1.203 kB / 0.5684 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.6337, allocations: 8.625 kB / 0.5684 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.6337, allocations: 14.09 kB / 0.5684 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.6343, allocations: 258.6 kB / 0.5686 GB, free: 12.46 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.001378/0.6357, allocations: 0.7669 MB / 0.5694 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.6362, allocations: 210.1 kB / 0.5696 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.6365, allocations: 128.8 kB / 0.5697 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.6366, allocations: 47.97 kB / 0.5697 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.6367, allocations: 41.62 kB / 0.5698 GB, free: 11.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.883e-06/0.6367, allocations: 0 / 0.5698 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.00219/0.6389, allocations: 0.6823 MB / 0.5704 GB, free: 11.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.6389, allocations: 81.61 kB / 0.5705 GB, free: 11.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.639, allocations: 118.2 kB / 0.5706 GB, free: 11.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.6391, allocations: 31.98 kB / 0.5707 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.6391, allocations: 107.3 kB / 0.5708 GB, free: 11.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.6392, allocations: 138 kB / 0.5709 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.6393, allocations: 65.75 kB / 0.571 GB, free: 11.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.6395, allocations: 327.5 kB / 0.5713 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.6398, allocations: 131.2 kB / 0.5714 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.6402, allocations: 213.8 kB / 0.5716 GB, free: 10.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.6409, allocations: 362.7 kB / 0.5719 GB, free: 10.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6409, allocations: 0 / 0.5719 GB, free: 10.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008172/0.6417, allocations: 412.2 kB / 0.5723 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.6417, allocations: 7.688 kB / 0.5723 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6417, allocations: 2.781 kB / 0.5724 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6417, allocations: 2.094 kB / 0.5724 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/0.6422, allocations: 86.61 kB / 0.5724 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6422, allocations: 5.781 kB / 0.5724 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.6425, allocations: 37.3 kB / 0.5725 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.6425, allocations: 18.58 kB / 0.5725 GB, free: 10.78 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.0001445/0.6427, allocations: 143.1 kB / 0.5726 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.6427, allocations: 21.53 kB / 0.5727 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.643, allocations: 168.7 kB / 0.5728 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6431, allocations: 5.656 kB / 0.5728 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6431, allocations: 0 / 0.5728 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6431, allocations: 6.516 kB / 0.5728 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.6446, allocations: 0.7392 MB / 0.5735 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6446, allocations: 2.906 kB / 0.5735 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.645, allocations: 77.91 kB / 0.5736 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.645, allocations: 2.719 kB / 0.5736 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.645, allocations: 13.97 kB / 0.5736 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.645, allocations: 1.812 kB / 0.5736 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.645, allocations: 5.297 kB / 0.5736 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6462, allocations: 0.7111 MB / 0.5743 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6463, allocations: 45.08 kB / 0.5744 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.6464, allocations: 11.36 kB / 0.5744 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.6467, allocations: 18.14 kB / 0.5744 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.6467, allocations: 28.8 kB / 0.5744 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.6468, allocations: 16.08 kB / 0.5745 GB, free: 9.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.413e-05/0.6468, allocations: 98.08 kB / 0.5745 GB, free: 9.875 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6468, allocations: 0 / 0.5745 GB, free: 9.875 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005524/0.6474, allocations: 142.1 kB / 0.5747 GB, free: 9.855 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.001805/0.6492, allocations: 1.368 MB / 0.576 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007574/0.6499, allocations: 330.3 kB / 0.5763 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6499, allocations: 7.906 kB / 0.5763 GB, free: 9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.6503, allocations: 176.2 kB / 0.5765 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.6509, allocations: 95.66 kB / 0.5766 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004289/0.6552, allocations: 2.826 MB / 0.5794 GB, free: 7.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.6556, allocations: 0.7408 MB / 0.5801 GB, free: 6.477 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003343/0.6559, allocations: 74.52 kB / 0.5802 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6561, allocations: 63.98 kB / 0.5802 GB, free: 6.418 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6561, allocations: 0 / 0.5802 GB, free: 6.418 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.6927, allocations: 8.436 MB / 0.5885 GB, free: 2.168 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.44, allocations: 10.22 kB / 0.5885 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: 13.701022916007787]