Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.001852/0.001852, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.002282/0.002282, allocations: 215.5 kB / 20.75 MB, free: 2.328 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.478/1.478, allocations: 230.4 MB / 254 MB, free: 15.03 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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.09 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 53.38 MB / 426.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.236/0.34, allocations: 26.74 MB / 453.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.3432, allocations: 2.257 MB / 455.3 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.3433, allocations: 1.188 kB / 455.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.3437, allocations: 66.19 kB / 455.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004367/0.3441, allocations: 173.1 kB / 455.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01942/0.3635, allocations: 6.542 MB / 462.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005792/0.3641, allocations: 339.5 kB / 462.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.3641, allocations: 6.688 kB / 462.5 MB, free: 5.965 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.3644, allocations: 144.9 kB / 462.6 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3646, allocations: 139.8 kB / 462.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.3647, allocations: 12.16 kB / 462.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.3848, allocations: 9.66 MB / 472.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.385, allocations: 66.73 kB / 472.5 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3852, allocations: 105.5 kB / 472.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.3983, allocations: 4.744 MB / 477.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3983, allocations: 0 / 477.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3983, allocations: 0 / 477.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3983, allocations: 1.469 kB / 477.3 MB, free: 13.71 MB / 382.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.004121/0.4024, allocations: 1.178 MB / 478.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4025, allocations: 15.97 kB / 478.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.4025, allocations: 51.42 kB / 478.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.4027, allocations: 32.2 kB / 478.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.403, allocations: 222.8 kB / 478.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.403, allocations: 13.78 kB / 478.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.519e-05/0.4031, allocations: 27.94 kB / 478.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000768/0.4039, allocations: 277.5 kB / 479.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.4039, allocations: 0 / 479.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4039, allocations: 5.688 kB / 479.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.4039, allocations: 15.94 kB / 479.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/0.4048, allocations: 316.8 kB / 479.5 MB, free: 11.53 MB / 382.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.001569/0.4064, allocations: 0.8207 MB / 480.3 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.4072, allocations: 238.8 kB / 480.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.4075, allocations: 129.6 kB / 480.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/0.4251, allocations: 12.84 MB / 493.5 MB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.4251, allocations: 38.5 kB / 493.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.884e-06/0.4251, allocations: 0 / 493.5 MB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003033/0.4281, allocations: 0.7051 MB / 494.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.4282, allocations: 81.11 kB / 494.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.4283, allocations: 141.8 kB / 494.4 MB, free: 9.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.4284, allocations: 37.7 kB / 494.5 MB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.4284, allocations: 112.9 kB / 494.6 MB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4286, allocations: 142.8 kB / 494.7 MB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.4287, allocations: 61.69 kB / 494.8 MB, free: 9.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4289, allocations: 338.8 kB / 495.1 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.4293, allocations: 131.9 kB / 495.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.4298, allocations: 207.6 kB / 495.5 MB, free: 8.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009923/0.4308, allocations: 363.5 kB / 495.8 MB, free: 8.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4308, allocations: 0 / 495.8 MB, free: 8.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001251/0.432, allocations: 422.7 kB / 496.2 MB, free: 8.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.4321, allocations: 4 kB / 496.2 MB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4321, allocations: 4 kB / 496.2 MB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4321, allocations: 7.938 kB / 496.2 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.4326, allocations: 92.36 kB / 496.3 MB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4326, allocations: 12.16 kB / 496.3 MB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.4329, allocations: 19.98 kB / 496.4 MB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.433, allocations: 20.67 kB / 496.4 MB, free: 7.871 MB / 398.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.0001818/0.4332, allocations: 141.7 kB / 496.5 MB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4333, allocations: 23.86 kB / 496.5 MB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.4338, allocations: 191.6 kB / 496.7 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4338, allocations: 8.641 kB / 496.7 MB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4339, allocations: 3.984 kB / 496.7 MB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4339, allocations: 4 kB / 496.7 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.4358, allocations: 0.7837 MB / 497.5 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4358, allocations: 0.875 kB / 497.5 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.4362, allocations: 83.88 kB / 497.6 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4362, allocations: 0 / 497.6 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.4363, allocations: 15.98 kB / 497.6 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4363, allocations: 7.938 kB / 497.6 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4363, allocations: 0.75 kB / 497.6 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.438, allocations: 0.7289 MB / 498.4 MB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.4382, allocations: 120.9 kB / 498.5 MB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.4382, allocations: 8 kB / 498.5 MB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4386, allocations: 28.03 kB / 498.5 MB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4386, allocations: 27.91 kB / 498.5 MB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.4387, allocations: 19.62 kB / 498.6 MB, free: 5.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.811e-05/0.4388, allocations: 113.6 kB / 498.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4388, allocations: 0 / 498.7 MB, free: 5.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003306/0.4421, allocations: 0.9589 MB / 499.6 MB, free: 4.488 MB / 398.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 (37): * Single equations (assignments): 37 * 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.007417/0.4495, allocations: 2.411 MB / 0.4903 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.4507, allocations: 340.6 kB / 0.4906 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4507, allocations: 0 / 0.4906 GB, free: 1.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.4512, allocations: 177.2 kB / 0.4908 GB, free: 1.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.452, allocations: 95.47 kB / 0.4909 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/0.4592, allocations: 3.255 MB / 0.494 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.4596, allocations: 0.7374 MB / 0.4948 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.46, allocations: 87.64 kB / 0.4948 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/0.4602, allocations: 71.41 kB / 0.4949 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4602, allocations: 0 / 0.4949 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07593/0.5361, allocations: 33.09 MB / 0.5272 GB, free: 12.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.513/10.05, allocations: 9.203 kB / 0.5272 GB, free: 12.08 MB / 446.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.007867261068895]