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.001469/0.001469, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001705/0.001705, allocations: 205.2 kB / 24.52 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.359/1.359, allocations: 230.6 MB / 258.3 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 51.92 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2217, allocations: 53.35 MB / 431.9 MB, free: 7.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3809/0.6026, allocations: 155 MB / 0.5731 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.604, allocations: 1.608 MB / 0.5747 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.6041, allocations: 2.812 kB / 0.5747 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.6044, allocations: 68.38 kB / 0.5748 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.6048, allocations: 167.5 kB / 0.5749 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.6075, allocations: 1.062 MB / 0.576 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004888/0.6079, allocations: 357.1 kB / 0.5763 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.608, allocations: 9.203 kB / 0.5763 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.6083, allocations: 173 kB / 0.5765 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.6085, allocations: 133.8 kB / 0.5766 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.6086, allocations: 15.61 kB / 0.5766 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.6117, allocations: 1.684 MB / 0.5783 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.6119, allocations: 74.83 kB / 0.5783 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.612, allocations: 100.8 kB / 0.5784 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.6139, allocations: 1.045 MB / 0.5794 GB, free: 12.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.6139, allocations: 0 / 0.5794 GB, free: 12.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6139, allocations: 0 / 0.5794 GB, free: 12.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.6139, allocations: 0 / 0.5794 GB, free: 12.36 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.00197/0.6159, allocations: 0.6271 MB / 0.5801 GB, free: 11.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.616, allocations: 15.61 kB / 0.5801 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.771e-05/0.616, allocations: 10.89 kB / 0.5801 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.437e-05/0.616, allocations: 48.31 kB / 0.5801 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.6162, allocations: 24.06 kB / 0.5801 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.6164, allocations: 165 kB / 0.5803 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.6165, allocations: 14.48 kB / 0.5803 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.6165, allocations: 17.45 kB / 0.5803 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.6171, allocations: 265.4 kB / 0.5806 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6171, allocations: 3.844 kB / 0.5806 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.6171, allocations: 6.156 kB / 0.5806 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.6171, allocations: 14.17 kB / 0.5806 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000583/0.6177, allocations: 260.1 kB / 0.5809 GB, free: 11.7 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.001434/0.6192, allocations: 0.7723 MB / 0.5816 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.6198, allocations: 212 kB / 0.5818 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.6201, allocations: 126.6 kB / 0.5819 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6203, allocations: 53.34 kB / 0.582 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.6203, allocations: 40.84 kB / 0.582 GB, free: 11.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.6203, allocations: 0 / 0.582 GB, free: 11.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002318/0.6226, allocations: 0.6795 MB / 0.5827 GB, free: 10.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6227, allocations: 86.78 kB / 0.5828 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.6228, allocations: 138.3 kB / 0.5829 GB, free: 10.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.6228, allocations: 35.39 kB / 0.5829 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.6229, allocations: 113.3 kB / 0.583 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.623, allocations: 134.4 kB / 0.5832 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.6231, allocations: 71.97 kB / 0.5832 GB, free: 10.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6232, allocations: 330 kB / 0.5836 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.6236, allocations: 129.2 kB / 0.5837 GB, free: 10.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004218/0.624, allocations: 213.8 kB / 0.5839 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/0.6248, allocations: 361.2 kB / 0.5842 GB, free: 9.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6248, allocations: 1.203 kB / 0.5842 GB, free: 9.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009164/0.6257, allocations: 414.8 kB / 0.5846 GB, free: 9.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6257, allocations: 7.406 kB / 0.5846 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.6257, allocations: 4 kB / 0.5846 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6258, allocations: 5.25 kB / 0.5846 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.6262, allocations: 90.53 kB / 0.5847 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6262, allocations: 9.406 kB / 0.5847 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.6265, allocations: 25.28 kB / 0.5848 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.6266, allocations: 17.77 kB / 0.5848 GB, free: 9.789 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.0001657/0.6267, allocations: 147.2 kB / 0.5849 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.6268, allocations: 21.64 kB / 0.5849 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.6272, allocations: 175.5 kB / 0.5851 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6272, allocations: 5.031 kB / 0.5851 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.6272, allocations: 3.984 kB / 0.5851 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6272, allocations: 3.938 kB / 0.5851 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.6289, allocations: 0.7521 MB / 0.5859 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6289, allocations: 0 / 0.5859 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.6293, allocations: 77.72 kB / 0.5859 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6293, allocations: 3.406 kB / 0.5859 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.6293, allocations: 12.12 kB / 0.5859 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.6293, allocations: 2.469 kB / 0.5859 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6293, allocations: 2.469 kB / 0.5859 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6307, allocations: 0.7271 MB / 0.5867 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.6308, allocations: 47.47 kB / 0.5867 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.6308, allocations: 11.94 kB / 0.5867 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.6312, allocations: 21.42 kB / 0.5867 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.6312, allocations: 29.83 kB / 0.5868 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.6313, allocations: 17.36 kB / 0.5868 GB, free: 8.688 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.606e-05/0.6314, allocations: 109.1 kB / 0.5869 GB, free: 8.602 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6314, allocations: 0 / 0.5869 GB, free: 8.602 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.632, allocations: 154.3 kB / 0.587 GB, free: 8.578 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.001998/0.6339, allocations: 1.388 MB / 0.5884 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008481/0.6348, allocations: 330.6 kB / 0.5887 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6348, allocations: 1.203 kB / 0.5887 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.6352, allocations: 166.4 kB / 0.5889 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.6359, allocations: 110.7 kB / 0.589 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.6405, allocations: 2.92 MB / 0.5918 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.6409, allocations: 0.7425 MB / 0.5925 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003231/0.6412, allocations: 77.53 kB / 0.5926 GB, free: 4.797 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.6414, allocations: 71.38 kB / 0.5927 GB, free: 4.781 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6414, allocations: 0 / 0.5927 GB, free: 4.781 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.6725, allocations: 9.036 MB / 0.6015 GB, free: 244 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.85, allocations: 2.812 kB / 0.6015 GB, free: 244 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 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.mat","/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.285192178969737]