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.00193/0.00193, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002511/0.002511, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.499/1.499, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001771/0.001771, allocations: 55.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2527, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3946/0.6473, allocations: 134.2 MB / 0.552 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003858/0.6512, allocations: 3.615 MB / 0.5555 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.6513, allocations: 0 / 0.5555 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.6518, allocations: 98.2 kB / 0.5556 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.6551, allocations: 1.217 MB / 0.5568 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.6564, allocations: 390.4 kB / 0.5572 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007038/0.6571, allocations: 464.4 kB / 0.5576 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.6571, allocations: 15.28 kB / 0.5576 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005095/0.6576, allocations: 250.2 kB / 0.5579 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.6579, allocations: 144.5 kB / 0.558 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.217e-05/0.6579, allocations: 16.62 kB / 0.558 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004142/0.6621, allocations: 1.834 MB / 0.5598 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.6623, allocations: 135 kB / 0.5599 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000231/0.6625, allocations: 151.4 kB / 0.5601 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.6654, allocations: 1.468 MB / 0.5615 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6654, allocations: 0 / 0.5615 GB, free: 15.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6654, allocations: 0 / 0.5615 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.6654, allocations: 3.938 kB / 0.5615 GB, free: 15.7 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.002212/0.6676, allocations: 0.7226 MB / 0.5622 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6676, allocations: 10.62 kB / 0.5622 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.996e-05/0.6677, allocations: 66.67 kB / 0.5623 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.6684, allocations: 106.3 kB / 0.5624 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.6689, allocations: 216.9 kB / 0.5626 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.6689, allocations: 22.06 kB / 0.5626 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.669, allocations: 29.67 kB / 0.5627 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6702, allocations: 0.8977 MB / 0.5635 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.6702, allocations: 3.547 kB / 0.5635 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.6702, allocations: 15.78 kB / 0.5636 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.6703, allocations: 16.86 kB / 0.5636 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.6715, allocations: 0.6486 MB / 0.5642 GB, free: 14.66 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.002874/0.6744, allocations: 1.177 MB / 0.5654 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009173/0.6753, allocations: 358.8 kB / 0.5657 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.6757, allocations: 170.2 kB / 0.5659 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/0.6777, allocations: 472.1 kB / 0.5663 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.6777, allocations: 42.59 kB / 0.5663 GB, free: 14.13 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.6777, allocations: 1.094 kB / 0.5663 GB, free: 14.13 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.01462/0.6924, allocations: 3.193 MB / 0.5695 GB, free: 13.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.6925, allocations: 84.8 kB / 0.5695 GB, free: 13.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.6926, allocations: 194.3 kB / 0.5697 GB, free: 13.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.137e-05/0.6927, allocations: 35.61 kB / 0.5698 GB, free: 13.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.6928, allocations: 185.2 kB / 0.5699 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.693, allocations: 184 kB / 0.5701 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.6932, allocations: 123.7 kB / 0.5702 GB, free: 12.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.6934, allocations: 337.2 kB / 0.5706 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.6941, allocations: 261.6 kB / 0.5708 GB, free: 12.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.695, allocations: 427.5 kB / 0.5712 GB, free: 12.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.6967, allocations: 0.6975 MB / 0.5719 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6967, allocations: 2.25 kB / 0.5719 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001925/0.6986, allocations: 0.7828 MB / 0.5727 GB, free: 12.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6986, allocations: 10.38 kB / 0.5727 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6986, allocations: 4.781 kB / 0.5727 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002002/0.6988, allocations: 58.3 kB / 0.5727 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.7, allocations: 188.6 kB / 0.5729 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008288/0.7008, allocations: 1.066 MB / 0.574 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.7016, allocations: 47.86 kB / 0.574 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.7016, allocations: 39.41 kB / 0.574 GB, free: 10.98 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.0002355/0.7019, allocations: 181.5 kB / 0.5742 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.702, allocations: 25.86 kB / 0.5742 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.7042, allocations: 0.7805 MB / 0.575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.7042, allocations: 3.469 kB / 0.575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7042, allocations: 4.953 kB / 0.575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.7042, allocations: 4.688 kB / 0.575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.7075, allocations: 1.461 MB / 0.5764 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.7075, allocations: 2.625 kB / 0.5764 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7086, allocations: 152.5 kB / 0.5766 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.7087, allocations: 46.81 kB / 0.5766 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.7087, allocations: 24.53 kB / 0.5767 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.7107, allocations: 2.518 MB / 0.5791 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7107, allocations: 9.141 kB / 0.5791 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/0.7133, allocations: 1.072 MB / 0.5802 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.7134, allocations: 23.09 kB / 0.5802 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.7135, allocations: 14.78 kB / 0.5802 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.7143, allocations: 39.17 kB / 0.5802 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.7144, allocations: 58.72 kB / 0.5803 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.7144, allocations: 34.36 kB / 0.5803 GB, free: 7.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.138e-05/0.7145, allocations: 129 kB / 0.5805 GB, free: 7.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7145, allocations: 0 / 0.5805 GB, free: 7.289 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001307/0.7158, allocations: 393.4 kB / 0.5808 GB, free: 7.238 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.005113/0.721, allocations: 2.382 MB / 0.5832 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.7227, allocations: 0.638 MB / 0.5838 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.7228, allocations: 0 / 0.5838 GB, free: 6.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.7239, allocations: 0.5213 MB / 0.5843 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.7247, allocations: 101 kB / 0.5844 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.7327, allocations: 4.261 MB / 0.5885 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.7329, allocations: 180 kB / 0.5887 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008889/0.7338, allocations: 177.9 kB / 0.5889 GB, free: 3.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.7342, allocations: 130.7 kB / 0.589 GB, free: 3.488 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7342, allocations: 0 / 0.589 GB, free: 3.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/0.8185, allocations: 20.98 MB / 0.6095 GB, free: 4.984 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.62, allocations: 8.062 kB / 0.6095 GB, free: 4.977 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.364583474118263]