Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0007963/0.0007963, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007803/0.0007803, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8485/0.8485, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.531e-05, allocations: 6.219 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.02984/0.02986, allocations: 45.42 MB / 369.9 MB, free: 2.285 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.03337, allocations: 4.7 MB / 374.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.03349, allocations: 8 kB / 374.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.034, allocations: 234.5 kB / 374.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.03439, allocations: 389.5 kB / 375.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009976/0.04437, allocations: 7.209 MB / 382.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.04503, allocations: 1.095 MB / 383.6 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.04519, allocations: 109.8 kB / 383.7 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.04844, allocations: 3.771 MB / 387.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003113/0.04875, allocations: 374.9 kB / 387.8 MB, free: 396 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.0488, allocations: 60 kB / 387.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009987/0.05879, allocations: 9.352 MB / 397.2 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.05899, allocations: 247.4 kB / 397.5 MB, free: 6.719 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.05919, allocations: 231.6 kB / 397.7 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.06575, allocations: 6.7 MB / 404.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.06575, allocations: 3.938 kB / 404.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06576, allocations: 0 / 404.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.06576, allocations: 0 / 404.4 MB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001576/0.06734, allocations: 1.327 MB / 405.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.06737, allocations: 11.98 kB / 405.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.008e-05/0.06744, allocations: 82.53 kB / 405.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.06763, allocations: 63.7 kB / 405.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.06798, allocations: 305 kB / 406.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.068, allocations: 33 kB / 406.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.06805, allocations: 48 kB / 406.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008272/0.06887, allocations: 0.8932 MB / 407.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.06889, allocations: 0 / 407.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/0.06892, allocations: 16 kB / 407.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.06893, allocations: 12 kB / 407.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.06972, allocations: 0.7417 MB / 407.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/0.07568, allocations: 3.658 MB / 411.6 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.07644, allocations: 0.4978 MB / 412.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.07667, allocations: 238.2 kB / 412.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004563/0.08123, allocations: 2.549 MB / 414.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.08126, allocations: 47.05 kB / 414.9 MB, free: 5.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.933e-06/0.08126, allocations: 4 kB / 414.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.0031/0.08436, allocations: 1.892 MB / 416.8 MB, free: 3.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.08439, allocations: 63.91 kB / 416.9 MB, free: 3.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.08461, allocations: 320.1 kB / 417.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.08465, allocations: 41.69 kB / 417.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.08474, allocations: 200.7 kB / 417.4 MB, free: 2.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.08483, allocations: 206.2 kB / 417.6 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.08495, allocations: 110.3 kB / 417.7 MB, free: 2.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.08517, allocations: 346.8 kB / 418.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.08543, allocations: 241.2 kB / 418.3 MB, free: 1.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.08581, allocations: 348.2 kB / 418.6 MB, free: 1.191 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.08653, allocations: 0.6085 MB / 419.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.08653, allocations: 0 / 419.2 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00105/0.08758, allocations: 0.7535 MB / 420 MB, free: 15.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.08759, allocations: 4 kB / 420 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.0876, allocations: 4 kB / 420 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.08788, allocations: 114.4 kB / 420.1 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.08813, allocations: 123.8 kB / 420.2 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.08961, allocations: 3.251 MB / 423.5 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.08976, allocations: 20.03 kB / 423.5 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.0898, allocations: 31.98 kB / 423.5 MB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.08996, allocations: 198 kB / 423.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.09011, allocations: 43.77 kB / 423.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009255/0.09103, allocations: 0.8166 MB / 424.6 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.09103, allocations: 4 kB / 424.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.09104, allocations: 4 kB / 424.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007911/0.09183, allocations: 0.7572 MB / 425.4 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.09303, allocations: 1.189 MB / 426.5 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.09303, allocations: 4.062 kB / 426.5 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.09326, allocations: 99.88 kB / 426.6 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.09369, allocations: 148.7 kB / 426.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.09372, allocations: 19.98 kB / 426.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002361/0.09395, allocations: 0.6483 MB / 427.5 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09395, allocations: 0 / 427.5 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009883/0.09494, allocations: 0.9111 MB / 428.4 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.09498, allocations: 39.8 kB / 428.4 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.09502, allocations: 12 kB / 428.4 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.0952, allocations: 15.98 kB / 428.4 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.09525, allocations: 40.38 kB / 428.5 MB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.09528, allocations: 36.06 kB / 428.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.09545, allocations: 255 kB / 428.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09545, allocations: 0 / 428.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002237/0.09769, allocations: 1.345 MB / 430.1 MB, free: 5.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004375/0.1021, allocations: 3.22 MB / 433.3 MB, free: 1.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008844/0.1029, allocations: 0.7698 MB / 434.1 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.103, allocations: 4 kB / 434.1 MB, free: 1.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1033, allocations: 288.1 kB / 434.4 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.104, allocations: 273.2 kB / 434.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/0.1093, allocations: 5.261 MB / 439.9 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.1094, allocations: 229.6 kB / 440.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.1097, allocations: 148.2 kB / 440.3 MB, free: 10.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.1099, allocations: 156.4 kB / 440.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1099, allocations: 7.938 kB / 440.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/0.2819, allocations: 52.6 MB / 493 MB, free: 81.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.363/9.645, allocations: 16.27 kB / 493 MB, free: 81.84 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 15.766933136619627]