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.001796/0.001796, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002308/0.002308, allocations: 205 kB / 23.73 MB, free: 4.379 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.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.789 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2354, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.37/0.6055, allocations: 133.3 MB / 0.5511 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.6068, allocations: 1.433 MB / 0.5525 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.6069, allocations: 1.125 kB / 0.5525 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.6072, allocations: 69.62 kB / 0.5526 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.6075, allocations: 158.2 kB / 0.5527 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.6099, allocations: 1.054 MB / 0.5537 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.6103, allocations: 355.1 kB / 0.5541 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.6103, allocations: 9.875 kB / 0.5541 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.6105, allocations: 176.6 kB / 0.5543 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.6107, allocations: 142.9 kB / 0.5544 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.6108, allocations: 14.03 kB / 0.5544 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.6127, allocations: 1.399 MB / 0.5558 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.6128, allocations: 76.22 kB / 0.5559 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.6129, allocations: 93.3 kB / 0.5559 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.6141, allocations: 0.9869 MB / 0.5569 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.6141, allocations: 0 / 0.5569 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6141, allocations: 4 kB / 0.5569 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.6141, allocations: 0 / 0.5569 GB, free: 15.62 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.001568/0.6157, allocations: 0.6382 MB / 0.5575 GB, free: 15.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6157, allocations: 12.66 kB / 0.5575 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.422e-05/0.6158, allocations: 50.33 kB / 0.5576 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.6159, allocations: 20.06 kB / 0.5576 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.6162, allocations: 169.1 kB / 0.5578 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.6162, allocations: 9.109 kB / 0.5578 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.6162, allocations: 21.98 kB / 0.5578 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.6168, allocations: 366.4 kB / 0.5582 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6168, allocations: 3.828 kB / 0.5582 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.6168, allocations: 9.656 kB / 0.5582 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.6168, allocations: 5 kB / 0.5582 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.6174, allocations: 266.5 kB / 0.5584 GB, free: 14.84 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.001337/0.6187, allocations: 0.6544 MB / 0.5591 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.6193, allocations: 215.6 kB / 0.5593 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.6196, allocations: 129.3 kB / 0.5594 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.6198, allocations: 53.02 kB / 0.5594 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.6198, allocations: 38.5 kB / 0.5595 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.6198, allocations: 0 / 0.5595 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002239/0.622, allocations: 0.6865 MB / 0.5602 GB, free: 14.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.6221, allocations: 84.52 kB / 0.5602 GB, free: 14.17 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.6222, allocations: 138.2 kB / 0.5604 GB, free: 14.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.6223, allocations: 34.83 kB / 0.5604 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.6223, allocations: 119.3 kB / 0.5605 GB, free: 13.94 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.6224, allocations: 132.4 kB / 0.5606 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.6225, allocations: 64.16 kB / 0.5607 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6227, allocations: 330.6 kB / 0.561 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.623, allocations: 133.2 kB / 0.5611 GB, free: 13.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.6234, allocations: 212.5 kB / 0.5613 GB, free: 13.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.6242, allocations: 359.6 kB / 0.5617 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6242, allocations: 0 / 0.5617 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008889/0.625, allocations: 412.9 kB / 0.5621 GB, free: 13.31 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6251, allocations: 6.531 kB / 0.5621 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6251, allocations: 4.656 kB / 0.5621 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6251, allocations: 2.719 kB / 0.5621 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.6255, allocations: 90.22 kB / 0.5622 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.6255, allocations: 3.734 kB / 0.5622 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.6258, allocations: 39.75 kB / 0.5622 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.6259, allocations: 14.69 kB / 0.5622 GB, free: 13.3 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.0001432/0.626, allocations: 144.3 kB / 0.5624 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.6261, allocations: 25.16 kB / 0.5624 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.6264, allocations: 176.3 kB / 0.5626 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.6264, allocations: 2.656 kB / 0.5626 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.6264, allocations: 9.297 kB / 0.5626 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6264, allocations: 6.281 kB / 0.5626 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.628, allocations: 0.7091 MB / 0.5633 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.628, allocations: 2.531 kB / 0.5633 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.6284, allocations: 78.91 kB / 0.5634 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.6284, allocations: 3.625 kB / 0.5634 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.6284, allocations: 15.62 kB / 0.5634 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.6285, allocations: 4.344 kB / 0.5634 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6285, allocations: 3.281 kB / 0.5634 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.6297, allocations: 0.7241 MB / 0.5641 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.6299, allocations: 42.77 kB / 0.5641 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.6299, allocations: 8.781 kB / 0.5641 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.6302, allocations: 21.83 kB / 0.5642 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.6303, allocations: 27.53 kB / 0.5642 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.6303, allocations: 14.56 kB / 0.5642 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.6304, allocations: 109.2 kB / 0.5643 GB, free: 12.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6304, allocations: 4 kB / 0.5643 GB, free: 12.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.631, allocations: 160.6 kB / 0.5645 GB, free: 12.39 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.001892/0.6329, allocations: 1.393 MB / 0.5658 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.6336, allocations: 324.9 kB / 0.5661 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6336, allocations: 0 / 0.5661 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.634, allocations: 175 kB / 0.5663 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006944/0.6347, allocations: 105.9 kB / 0.5664 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.6392, allocations: 2.918 MB / 0.5692 GB, free: 9.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.6393, allocations: 132.8 kB / 0.5694 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003016/0.6396, allocations: 71.55 kB / 0.5694 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.6397, allocations: 75.67 kB / 0.5695 GB, free: 9.746 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6397, allocations: 1.203 kB / 0.5695 GB, free: 9.746 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/0.6754, allocations: 9.738 MB / 0.579 GB, free: 7.211 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.8, allocations: 7.562 kB / 0.579 GB, free: 7.207 MB / 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.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_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.csv","/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.234685335017275]