Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 116.8 kB / 17.74 MB, free: 5.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.00203, allocations: 186.9 kB / 20.68 MB, free: 2.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 246.4 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 51.92 kB / 357.5 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.1003, allocations: 49.43 MB / 406.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3885/0.4889, allocations: 152.5 MB / 0.5463 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008084/0.497, allocations: 4.033 MB / 0.5503 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.4973, allocations: 4 kB / 0.5503 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.4979, allocations: 107.4 kB / 0.5504 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.5025, allocations: 1.181 MB / 0.5515 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.5041, allocations: 390.2 kB / 0.5519 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.5052, allocations: 454.8 kB / 0.5523 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.469e-05/0.5053, allocations: 13.56 kB / 0.5523 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007669/0.5061, allocations: 235 kB / 0.5526 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.5065, allocations: 139.5 kB / 0.5527 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.5066, allocations: 16 kB / 0.5527 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006677/0.5132, allocations: 2.06 MB / 0.5547 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.5136, allocations: 131.7 kB / 0.5548 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000348/0.5139, allocations: 163.4 kB / 0.555 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.5169, allocations: 1.551 MB / 0.5565 GB, free: 7.777 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5169, allocations: 0 / 0.5565 GB, free: 7.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5169, allocations: 0 / 0.5565 GB, free: 7.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.5169, allocations: 0 / 0.5565 GB, free: 7.777 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.002301/0.5192, allocations: 0.7726 MB / 0.5573 GB, free: 6.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5193, allocations: 16.03 kB / 0.5573 GB, free: 6.938 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.5194, allocations: 66.72 kB / 0.5574 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.5201, allocations: 109.4 kB / 0.5575 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.5206, allocations: 281 kB / 0.5577 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.5206, allocations: 24.55 kB / 0.5577 GB, free: 6.422 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.5207, allocations: 27.95 kB / 0.5578 GB, free: 6.395 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.5219, allocations: 0.5887 MB / 0.5583 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.522, allocations: 3.984 kB / 0.5584 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.522, allocations: 12 kB / 0.5584 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.876e-05/0.5221, allocations: 28.36 kB / 0.5584 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.5235, allocations: 0.6386 MB / 0.559 GB, free: 5.117 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.003219/0.5267, allocations: 1.281 MB / 0.5603 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5278, allocations: 348.9 kB / 0.5606 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/0.5283, allocations: 169.6 kB / 0.5608 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/0.531, allocations: 1.399 MB / 0.5621 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.5311, allocations: 41.97 kB / 0.5622 GB, free: 1.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.5311, allocations: 0 / 0.5622 GB, free: 1.582 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.01603/0.5472, allocations: 3.495 MB / 0.5656 GB, free: 13.89 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.5473, allocations: 81.11 kB / 0.5657 GB, free: 13.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.5475, allocations: 184.8 kB / 0.5658 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.5476, allocations: 37.7 kB / 0.5659 GB, free: 13.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.5477, allocations: 180.6 kB / 0.566 GB, free: 13.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.5479, allocations: 182.4 kB / 0.5662 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.5482, allocations: 122.2 kB / 0.5663 GB, free: 13.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.5484, allocations: 338.8 kB / 0.5667 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.5493, allocations: 261.1 kB / 0.5669 GB, free: 12.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5504, allocations: 425.5 kB / 0.5673 GB, free: 11.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.5524, allocations: 0.6934 MB / 0.568 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.5524, allocations: 5.188 kB / 0.568 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002306/0.5547, allocations: 0.7729 MB / 0.5687 GB, free: 10.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.5547, allocations: 8.625 kB / 0.5688 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5548, allocations: 8 kB / 0.5688 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.555, allocations: 61.62 kB / 0.5688 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.5562, allocations: 183.7 kB / 0.569 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008209/0.557, allocations: 1.074 MB / 0.57 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.5579, allocations: 48.08 kB / 0.5701 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/0.558, allocations: 39.98 kB / 0.5701 GB, free: 8.973 MB / 478.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.0002929/0.5583, allocations: 177.6 kB / 0.5703 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5584, allocations: 31.78 kB / 0.5703 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.5608, allocations: 0.7785 MB / 0.5711 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5608, allocations: 4 kB / 0.5711 GB, free: 7.961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5608, allocations: 4.688 kB / 0.5711 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5608, allocations: 7.984 kB / 0.5711 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.5646, allocations: 1.554 MB / 0.5726 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5646, allocations: 0 / 0.5726 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.5658, allocations: 159.7 kB / 0.5728 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.566, allocations: 45.91 kB / 0.5728 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.5661, allocations: 23.92 kB / 0.5728 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.5685, allocations: 2.726 MB / 0.5755 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5685, allocations: 7.922 kB / 0.5755 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.5715, allocations: 1.077 MB / 0.5766 GB, free: 1.938 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.5717, allocations: 101 kB / 0.5767 GB, free: 1.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.5718, allocations: 12 kB / 0.5767 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.5727, allocations: 39.95 kB / 0.5767 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.5728, allocations: 47.88 kB / 0.5768 GB, free: 1.723 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/0.5728, allocations: 39.91 kB / 0.5768 GB, free: 1.684 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.573, allocations: 124.4 kB / 0.5769 GB, free: 1.562 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.573, allocations: 0 / 0.5769 GB, free: 1.562 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001352/0.5743, allocations: 391.2 kB / 0.5773 GB, free: 1.18 MB / 478.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.005839/0.5802, allocations: 2.381 MB / 0.5796 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.5824, allocations: 0.6658 MB / 0.5803 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5824, allocations: 0 / 0.5803 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.5836, allocations: 0.5351 MB / 0.5808 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.5845, allocations: 103.4 kB / 0.5809 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009008/0.5935, allocations: 4.241 MB / 0.585 GB, free: 8.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.5941, allocations: 0.7852 MB / 0.5858 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00088/0.595, allocations: 183.1 kB / 0.586 GB, free: 7.926 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004131/0.5954, allocations: 131.4 kB / 0.5861 GB, free: 7.797 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5954, allocations: 0 / 0.5861 GB, free: 7.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07512/0.6705, allocations: 19.65 MB / 0.6053 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.76, allocations: 3.625 kB / 0.6053 GB, free: 4.25 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.61937839491293]