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.001242/0.001242, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001405/0.001405, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.366/1.366, allocations: 230.5 MB / 258.2 MB, free: 7.992 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 59.91 kB / 378.5 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2331, allocations: 53.4 MB / 431.9 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3702/0.6033, allocations: 133.2 MB / 0.5518 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.605, allocations: 1.429 MB / 0.5532 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.6052, allocations: 1.094 kB / 0.5532 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.6056, allocations: 61.58 kB / 0.5533 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.606, allocations: 167 kB / 0.5534 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.6088, allocations: 1.057 MB / 0.5545 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.6092, allocations: 356.6 kB / 0.5548 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.6093, allocations: 8.547 kB / 0.5548 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.6095, allocations: 173.2 kB / 0.555 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.6098, allocations: 138.6 kB / 0.5551 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.6098, allocations: 12.28 kB / 0.5551 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.612, allocations: 1.418 MB / 0.5565 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.6121, allocations: 69.08 kB / 0.5566 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.6122, allocations: 92.02 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.614, allocations: 0.9883 MB / 0.5576 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.614, allocations: 0 / 0.5576 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.614, allocations: 1.203 kB / 0.5576 GB, free: 15.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.614, allocations: 2.156 kB / 0.5576 GB, free: 15.61 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.001889/0.6159, allocations: 0.6372 MB / 0.5583 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.6159, allocations: 8.438 kB / 0.5583 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.616, allocations: 5.609 kB / 0.5583 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.616, allocations: 58.52 kB / 0.5583 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.6162, allocations: 23.75 kB / 0.5584 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.6164, allocations: 164.4 kB / 0.5585 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6164, allocations: 9.953 kB / 0.5585 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.6165, allocations: 20.92 kB / 0.5585 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.6171, allocations: 363.1 kB / 0.5589 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.6171, allocations: 2.719 kB / 0.5589 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.6171, allocations: 9.062 kB / 0.5589 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.6172, allocations: 10.56 kB / 0.5589 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.6177, allocations: 263.5 kB / 0.5592 GB, free: 14.82 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.001358/0.6191, allocations: 0.6551 MB / 0.5598 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.6197, allocations: 210.7 kB / 0.56 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.6199, allocations: 138 kB / 0.5601 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/0.6201, allocations: 49.09 kB / 0.5602 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6202, allocations: 33.12 kB / 0.5602 GB, free: 14.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.6202, allocations: 0 / 0.5602 GB, free: 14.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002336/0.6225, allocations: 0.6875 MB / 0.5609 GB, free: 14.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.6226, allocations: 82.58 kB / 0.561 GB, free: 14.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.6227, allocations: 136.9 kB / 0.5611 GB, free: 14.06 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.6227, allocations: 32.27 kB / 0.5611 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.6228, allocations: 113.4 kB / 0.5612 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.6229, allocations: 133 kB / 0.5614 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.623, allocations: 79.23 kB / 0.5614 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6231, allocations: 329.6 kB / 0.5617 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003227/0.6234, allocations: 132.9 kB / 0.5619 GB, free: 13.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.6238, allocations: 203.6 kB / 0.5621 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/0.6245, allocations: 362 kB / 0.5624 GB, free: 13.35 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6245, allocations: 3.562 kB / 0.5624 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008491/0.6254, allocations: 413.6 kB / 0.5628 GB, free: 13.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6254, allocations: 6.906 kB / 0.5628 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6254, allocations: 0 / 0.5628 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6254, allocations: 4.969 kB / 0.5628 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.6259, allocations: 89.67 kB / 0.5629 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.6259, allocations: 4.875 kB / 0.5629 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.6262, allocations: 32.11 kB / 0.5629 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.6262, allocations: 18.33 kB / 0.563 GB, free: 13.29 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.0001581/0.6264, allocations: 145.6 kB / 0.5631 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.6265, allocations: 19.28 kB / 0.5631 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.6268, allocations: 180.2 kB / 0.5633 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6268, allocations: 6.141 kB / 0.5633 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6268, allocations: 0 / 0.5633 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.6268, allocations: 7.188 kB / 0.5633 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.6284, allocations: 0.7141 MB / 0.564 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6284, allocations: 7.625 kB / 0.564 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.6289, allocations: 79.34 kB / 0.5641 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.6289, allocations: 5.109 kB / 0.5641 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6289, allocations: 8.562 kB / 0.5641 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6289, allocations: 6.125 kB / 0.5641 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6289, allocations: 9.969 kB / 0.5641 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6302, allocations: 0.7259 MB / 0.5648 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6303, allocations: 43.45 kB / 0.5649 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.6303, allocations: 15.69 kB / 0.5649 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.6307, allocations: 19.23 kB / 0.5649 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.6307, allocations: 27.38 kB / 0.5649 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.6307, allocations: 16.28 kB / 0.5649 GB, free: 12.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.6308, allocations: 109 kB / 0.565 GB, free: 12.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6308, allocations: 0 / 0.565 GB, free: 12.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.6314, allocations: 155.8 kB / 0.5652 GB, free: 12.38 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.001872/0.6333, allocations: 1.386 MB / 0.5665 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.6341, allocations: 328.5 kB / 0.5669 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.6341, allocations: 0 / 0.5669 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.6344, allocations: 173.4 kB / 0.567 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.6351, allocations: 110.4 kB / 0.5671 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.6394, allocations: 2.921 MB / 0.57 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6395, allocations: 129.2 kB / 0.5701 GB, free: 9.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000306/0.6398, allocations: 73.05 kB / 0.5702 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.64, allocations: 71.09 kB / 0.5702 GB, free: 9.734 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.64, allocations: 0 / 0.5702 GB, free: 9.734 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.6722, allocations: 9.377 MB / 0.5794 GB, free: 7.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.09, allocations: 6.656 kB / 0.5794 GB, free: 7.52 MB / 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.541121875983663]