Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.001551/0.001551, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001432/0.001432, allocations: 209.3 kB / 23.73 MB, free: 4.523 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2368, allocations: 53.35 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3773/0.6141, allocations: 134.2 MB / 0.552 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.6181, allocations: 3.615 MB / 0.5555 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.6184, allocations: 3.625 kB / 0.5555 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004803/0.6188, allocations: 101.7 kB / 0.5556 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.6218, allocations: 1.21 MB / 0.5568 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6229, allocations: 401 kB / 0.5572 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005854/0.6235, allocations: 465.1 kB / 0.5576 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.6236, allocations: 11.38 kB / 0.5576 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.6239, allocations: 252.1 kB / 0.5579 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.6241, allocations: 153.3 kB / 0.558 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.6242, allocations: 14.09 kB / 0.558 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.6273, allocations: 1.849 MB / 0.5598 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.6274, allocations: 136.3 kB / 0.56 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.6276, allocations: 150.8 kB / 0.5601 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.6296, allocations: 1.467 MB / 0.5615 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6296, allocations: 2.219 kB / 0.5615 GB, free: 15.75 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.6296, allocations: 2.344 kB / 0.5615 GB, free: 15.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.6296, allocations: 0 / 0.5615 GB, free: 15.75 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002179/0.6318, allocations: 0.7159 MB / 0.5622 GB, free: 15.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6318, allocations: 16.44 kB / 0.5623 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.114e-05/0.6319, allocations: 66.83 kB / 0.5623 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.6325, allocations: 106.6 kB / 0.5624 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.633, allocations: 220.4 kB / 0.5626 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.633, allocations: 17.75 kB / 0.5626 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.387e-05/0.633, allocations: 27.58 kB / 0.5627 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.6342, allocations: 0.9016 MB / 0.5636 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6342, allocations: 0 / 0.5636 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.254e-05/0.6343, allocations: 15.12 kB / 0.5636 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.6343, allocations: 23.22 kB / 0.5636 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.6354, allocations: 0.6484 MB / 0.5642 GB, free: 14.7 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.002689/0.6381, allocations: 1.181 MB / 0.5654 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.639, allocations: 347.6 kB / 0.5657 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.6394, allocations: 173.8 kB / 0.5659 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/0.6413, allocations: 479.4 kB / 0.5663 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.6413, allocations: 40.69 kB / 0.5664 GB, free: 14.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.6413, allocations: 0 / 0.5664 GB, free: 14.17 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01386/0.6552, allocations: 3.198 MB / 0.5695 GB, free: 13.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.6553, allocations: 84.05 kB / 0.5696 GB, free: 13.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.6554, allocations: 188.9 kB / 0.5698 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.6555, allocations: 35.55 kB / 0.5698 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.6556, allocations: 181.1 kB / 0.57 GB, free: 12.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.6558, allocations: 187.8 kB / 0.5701 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.6559, allocations: 116.1 kB / 0.5703 GB, free: 12.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6561, allocations: 335.6 kB / 0.5706 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007109/0.6568, allocations: 270.6 kB / 0.5708 GB, free: 12.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.6576, allocations: 425.9 kB / 0.5712 GB, free: 12.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.6592, allocations: 0.6918 MB / 0.5719 GB, free: 12.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6592, allocations: 4 kB / 0.5719 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001907/0.6611, allocations: 0.7857 MB / 0.5727 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6611, allocations: 8.781 kB / 0.5727 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6611, allocations: 2.625 kB / 0.5727 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00021/0.6613, allocations: 63.41 kB / 0.5728 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6624, allocations: 177.9 kB / 0.5729 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000746/0.6632, allocations: 1.075 MB / 0.574 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/0.6639, allocations: 49.52 kB / 0.574 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.664, allocations: 36.3 kB / 0.5741 GB, free: 11.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.0002687/0.6642, allocations: 179.3 kB / 0.5742 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6644, allocations: 28.33 kB / 0.5743 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.6664, allocations: 0.789 MB / 0.575 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6664, allocations: 9.719 kB / 0.575 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6664, allocations: 0 / 0.575 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.6664, allocations: 5.234 kB / 0.575 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/0.6696, allocations: 1.462 MB / 0.5765 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6696, allocations: 0 / 0.5765 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6706, allocations: 149.8 kB / 0.5766 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.6707, allocations: 42.22 kB / 0.5766 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.266e-05/0.6708, allocations: 24.98 kB / 0.5767 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.6727, allocations: 2.524 MB / 0.5791 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6727, allocations: 2.875 kB / 0.5791 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.6752, allocations: 1.081 MB / 0.5802 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.6752, allocations: 25.39 kB / 0.5802 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.6753, allocations: 12.03 kB / 0.5802 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.6761, allocations: 42.88 kB / 0.5803 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.6762, allocations: 47.44 kB / 0.5803 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.6762, allocations: 39.09 kB / 0.5804 GB, free: 7.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.6763, allocations: 128.5 kB / 0.5805 GB, free: 7.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6763, allocations: 0 / 0.5805 GB, free: 7.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001352/0.6777, allocations: 390.2 kB / 0.5808 GB, free: 7.281 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004975/0.6827, allocations: 2.374 MB / 0.5832 GB, free: 6.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.6845, allocations: 0.6373 MB / 0.5838 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6845, allocations: 0 / 0.5838 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6856, allocations: 0.527 MB / 0.5843 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.6863, allocations: 97.62 kB / 0.5844 GB, free: 6.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.6941, allocations: 4.266 MB / 0.5886 GB, free: 3.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.6942, allocations: 174 kB / 0.5887 GB, free: 3.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008004/0.695, allocations: 188.2 kB / 0.5889 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.6954, allocations: 129.7 kB / 0.589 GB, free: 3.535 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6954, allocations: 0 / 0.589 GB, free: 3.535 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05736/0.7527, allocations: 21.18 MB / 0.6097 GB, free: 4.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.29, allocations: 15.98 kB / 0.6097 GB, free: 4.953 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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: 16.914665378979407]