Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2409, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3882/0.6291, allocations: 155 MB / 0.5724 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.6305, allocations: 1.61 MB / 0.574 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.6306, allocations: 1.812 kB / 0.574 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.6309, allocations: 75.61 kB / 0.574 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.6313, allocations: 164.1 kB / 0.5742 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.6337, allocations: 1.063 MB / 0.5752 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.6341, allocations: 357.9 kB / 0.5756 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.6342, allocations: 6.812 kB / 0.5756 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.6344, allocations: 168.4 kB / 0.5757 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.6346, allocations: 138.7 kB / 0.5759 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.6347, allocations: 13 kB / 0.5759 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.6371, allocations: 1.685 MB / 0.5775 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.6372, allocations: 72.72 kB / 0.5776 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.6373, allocations: 106.7 kB / 0.5777 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.6387, allocations: 1.041 MB / 0.5787 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.6387, allocations: 0 / 0.5787 GB, free: 12.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6387, allocations: 2.391 kB / 0.5787 GB, free: 12.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.6387, allocations: 0 / 0.5787 GB, free: 12.38 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.001724/0.6405, allocations: 0.6356 MB / 0.5793 GB, free: 11.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.6405, allocations: 12.17 kB / 0.5794 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.338e-05/0.6406, allocations: 48.8 kB / 0.5794 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.6407, allocations: 24.86 kB / 0.5794 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.6409, allocations: 159.7 kB / 0.5796 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.641, allocations: 16.77 kB / 0.5796 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.641, allocations: 17.83 kB / 0.5796 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.6415, allocations: 260.5 kB / 0.5799 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.6415, allocations: 2.625 kB / 0.5799 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.6415, allocations: 3.562 kB / 0.5799 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.6416, allocations: 9.984 kB / 0.5799 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.6421, allocations: 269.7 kB / 0.5801 GB, free: 11.72 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.001356/0.6435, allocations: 0.7675 MB / 0.5809 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.6441, allocations: 211.5 kB / 0.5811 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.6443, allocations: 133.6 kB / 0.5812 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.6445, allocations: 52.91 kB / 0.5813 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6446, allocations: 36.59 kB / 0.5813 GB, free: 11.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.453e-06/0.6446, allocations: 0 / 0.5813 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002253/0.6468, allocations: 0.6866 MB / 0.582 GB, free: 10.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.6469, allocations: 83.14 kB / 0.582 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.647, allocations: 144 kB / 0.5822 GB, free: 10.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.647, allocations: 31.39 kB / 0.5822 GB, free: 10.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.998e-05/0.6471, allocations: 112.6 kB / 0.5823 GB, free: 10.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.6472, allocations: 128.5 kB / 0.5824 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6473, allocations: 82.44 kB / 0.5825 GB, free: 10.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.6475, allocations: 328 kB / 0.5828 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.6478, allocations: 130.5 kB / 0.583 GB, free: 10.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.6482, allocations: 205.3 kB / 0.5832 GB, free: 10.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.6489, allocations: 358.9 kB / 0.5835 GB, free: 9.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6489, allocations: 0 / 0.5835 GB, free: 9.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008679/0.6498, allocations: 418.4 kB / 0.5839 GB, free: 9.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6498, allocations: 10.42 kB / 0.5839 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6498, allocations: 2.625 kB / 0.5839 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6498, allocations: 2.094 kB / 0.5839 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.6503, allocations: 90.97 kB / 0.584 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6503, allocations: 5.031 kB / 0.584 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.6506, allocations: 28.84 kB / 0.584 GB, free: 9.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-05/0.6507, allocations: 16.67 kB / 0.584 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.0001558/0.6508, allocations: 145.5 kB / 0.5842 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.757e-05/0.6509, allocations: 21.98 kB / 0.5842 GB, free: 9.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.6512, allocations: 180.8 kB / 0.5844 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6512, allocations: 4.406 kB / 0.5844 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6512, allocations: 1.094 kB / 0.5844 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6513, allocations: 10.83 kB / 0.5844 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.6529, allocations: 0.7432 MB / 0.5851 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6529, allocations: 2.594 kB / 0.5851 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.6534, allocations: 73.25 kB / 0.5852 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.6534, allocations: 8.5 kB / 0.5852 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.6534, allocations: 13.92 kB / 0.5852 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.6534, allocations: 2.719 kB / 0.5852 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6534, allocations: 2.094 kB / 0.5852 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6547, allocations: 0.7274 MB / 0.5859 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6548, allocations: 43.66 kB / 0.586 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.6549, allocations: 11.94 kB / 0.586 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.6552, allocations: 18.64 kB / 0.586 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.6553, allocations: 25.23 kB / 0.586 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.6553, allocations: 17.3 kB / 0.586 GB, free: 8.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.6554, allocations: 109.7 kB / 0.5861 GB, free: 8.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6554, allocations: 0 / 0.5861 GB, free: 8.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005834/0.6559, allocations: 157.5 kB / 0.5863 GB, free: 8.582 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.001942/0.6579, allocations: 1.388 MB / 0.5876 GB, free: 7.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.6587, allocations: 329.5 kB / 0.588 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6587, allocations: 6.531 kB / 0.588 GB, free: 7.582 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.6591, allocations: 169.6 kB / 0.5881 GB, free: 7.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.6598, allocations: 111.1 kB / 0.5882 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.6646, allocations: 2.924 MB / 0.5911 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.665, allocations: 0.7396 MB / 0.5918 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003219/0.6653, allocations: 81.53 kB / 0.5919 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6655, allocations: 67.03 kB / 0.592 GB, free: 4.773 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6655, allocations: 0 / 0.592 GB, free: 4.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.707, allocations: 8.995 MB / 0.6007 GB, free: 216 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.9, allocations: 15.77 kB / 0.6008 GB, free: 200 kB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.318526366027072]