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.0008246/0.0008246, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008178/0.0008178, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8532/0.8532, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.819e-06/1.128e-05, allocations: 6.281 kB / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.277/0.277, allocations: 134.2 MB / 458.8 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.2793, allocations: 3.612 MB / 462.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.2794, allocations: 2.688 kB / 462.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.2798, allocations: 99.7 kB / 462.5 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.2814, allocations: 1.237 MB / 463.7 MB, free: 5.457 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.2819, allocations: 399.7 kB / 464.1 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.2823, allocations: 472.1 kB / 464.6 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.2824, allocations: 12.41 kB / 464.6 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000342/0.2827, allocations: 305.9 kB / 464.9 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.2829, allocations: 137.6 kB / 465 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.2829, allocations: 13.81 kB / 465 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.2848, allocations: 1.854 MB / 466.9 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.2849, allocations: 145.1 kB / 467 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.285, allocations: 131.8 kB / 467.1 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2861, allocations: 1.611 MB / 468.7 MB, free: 5.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2861, allocations: 0.875 kB / 468.7 MB, free: 5.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2861, allocations: 0 / 468.7 MB, free: 5.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2861, allocations: 0.9375 kB / 468.7 MB, free: 5.352 MB / 410.7 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.001101/0.2872, allocations: 0.7092 MB / 469.5 MB, free: 4.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2873, allocations: 9.781 kB / 469.5 MB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.117e-05/0.2873, allocations: 70.78 kB / 469.5 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.2877, allocations: 108.3 kB / 469.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.2879, allocations: 224.9 kB / 469.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2879, allocations: 23.06 kB / 469.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.288, allocations: 22.41 kB / 469.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.2886, allocations: 0.8997 MB / 470.8 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2886, allocations: 3.281 kB / 470.8 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.2887, allocations: 12.62 kB / 470.8 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.2887, allocations: 24.94 kB / 470.8 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.2893, allocations: 0.6441 MB / 471.5 MB, free: 4.324 MB / 410.7 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.001465/0.2908, allocations: 1.182 MB / 472.7 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.2913, allocations: 351.9 kB / 473 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.2915, allocations: 163.4 kB / 473.2 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.2924, allocations: 479.8 kB / 473.6 MB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.44e-05/0.2924, allocations: 38.25 kB / 473.7 MB, free: 3.824 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.2924, allocations: 0 / 473.7 MB, free: 3.824 MB / 410.7 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.007141/0.2996, allocations: 3.225 MB / 476.9 MB, free: 3.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.2996, allocations: 87.64 kB / 477 MB, free: 2.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.2997, allocations: 181.3 kB / 477.2 MB, free: 2.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.2997, allocations: 35.48 kB / 477.2 MB, free: 2.816 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.2998, allocations: 177.3 kB / 477.4 MB, free: 2.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.2998, allocations: 183.2 kB / 477.6 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3, allocations: 116.8 kB / 477.7 MB, free: 2.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.3, allocations: 342.8 kB / 478 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.3004, allocations: 264.7 kB / 478.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.3008, allocations: 425.8 kB / 478.7 MB, free: 2.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/0.3017, allocations: 0.7003 MB / 479.4 MB, free: 1.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3017, allocations: 0 / 479.4 MB, free: 1.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001029/0.3027, allocations: 0.7845 MB / 480.2 MB, free: 1.766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3027, allocations: 9.094 kB / 480.2 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3027, allocations: 5.469 kB / 480.2 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.3028, allocations: 57 kB / 480.2 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.3033, allocations: 183.5 kB / 480.4 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002405/0.3036, allocations: 1.08 MB / 481.5 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/0.3039, allocations: 45.19 kB / 481.5 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.304, allocations: 37.16 kB / 481.6 MB, free: 0.6992 MB / 410.7 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.0001326/0.3041, allocations: 177.4 kB / 481.7 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.3041, allocations: 34.55 kB / 481.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.3053, allocations: 0.7796 MB / 482.6 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3053, allocations: 10.44 kB / 482.6 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3053, allocations: 0 / 482.6 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3053, allocations: 0 / 482.6 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.3069, allocations: 1.461 MB / 484 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3069, allocations: 0 / 484 MB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004712/0.3074, allocations: 152.5 kB / 484.2 MB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.3075, allocations: 46.81 kB / 484.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3075, allocations: 23.11 kB / 484.2 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.3085, allocations: 2.524 MB / 486.8 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3085, allocations: 0 / 486.8 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3099, allocations: 1.073 MB / 487.8 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3099, allocations: 24.45 kB / 487.9 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.31, allocations: 11.47 kB / 487.9 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.3103, allocations: 45.53 kB / 487.9 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.3104, allocations: 44.72 kB / 488 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.3104, allocations: 42.31 kB / 488 MB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.392e-05/0.3105, allocations: 120.1 kB / 488.1 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3105, allocations: 3.094 kB / 488.1 MB, free: 13.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008302/0.3113, allocations: 394.7 kB / 488.5 MB, free: 12.96 MB / 426.7 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.002821/0.3141, allocations: 2.402 MB / 490.9 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009464/0.3151, allocations: 0.6329 MB / 491.5 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3151, allocations: 7.031 kB / 491.6 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.3156, allocations: 0.523 MB / 492.1 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.3161, allocations: 96.8 kB / 492.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.3204, allocations: 4.142 MB / 496.3 MB, free: 9.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.3205, allocations: 175.9 kB / 496.5 MB, free: 9.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000484/0.321, allocations: 190.3 kB / 496.7 MB, free: 9.422 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.3212, allocations: 126.8 kB / 496.8 MB, free: 9.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3212, allocations: 4 kB / 496.8 MB, free: 9.406 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.3553, allocations: 21.13 MB / 0.5058 GB, free: 13.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.846/9.202, allocations: 0 / 0.5058 GB, free: 13.55 MB / 442.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/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: 11.037859715521336]