Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008178/0.0008178, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008315/0.0008315, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8597/0.8597, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.402e-05, allocations: 3.125 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2648/0.2648, allocations: 134.2 MB / 458.7 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.2669, allocations: 3.611 MB / 462.3 MB, free: 5.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.267, allocations: 3.125 kB / 462.3 MB, free: 5.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003085/0.2673, allocations: 96.41 kB / 462.4 MB, free: 5.465 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2686, allocations: 1.24 MB / 463.6 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.269, allocations: 402 kB / 464 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.2694, allocations: 473.9 kB / 464.5 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.2694, allocations: 11.05 kB / 464.5 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.2697, allocations: 303.3 kB / 464.8 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2698, allocations: 136.5 kB / 464.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.2698, allocations: 17.25 kB / 464.9 MB, free: 5.387 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2713, allocations: 1.852 MB / 466.8 MB, free: 5.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.2714, allocations: 142.4 kB / 466.9 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.2715, allocations: 132.1 kB / 467.1 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.2725, allocations: 1.616 MB / 468.7 MB, free: 5.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2725, allocations: 3.188 kB / 468.7 MB, free: 5.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2725, allocations: 0.9062 kB / 468.7 MB, free: 5.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2725, allocations: 0 / 468.7 MB, free: 5.305 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.001061/0.2736, allocations: 0.7049 MB / 469.4 MB, free: 4.914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2736, allocations: 11.11 kB / 469.4 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.2737, allocations: 70.42 kB / 469.5 MB, free: 4.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.274, allocations: 111 kB / 469.6 MB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2743, allocations: 219.2 kB / 469.8 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2743, allocations: 21.47 kB / 469.8 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.2743, allocations: 30.34 kB / 469.8 MB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.2749, allocations: 0.9045 MB / 470.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2749, allocations: 0.9062 kB / 470.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.275, allocations: 9.75 kB / 470.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.275, allocations: 23.2 kB / 470.8 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.2756, allocations: 0.6404 MB / 471.4 MB, free: 4.277 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.001422/0.277, allocations: 1.191 MB / 472.6 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.2775, allocations: 347.6 kB / 473 MB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2777, allocations: 166 kB / 473.1 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008536/0.2786, allocations: 481.5 kB / 473.6 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.2786, allocations: 41.08 kB / 473.6 MB, free: 3.773 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.2786, allocations: 0 / 473.6 MB, free: 3.773 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.008287/0.2869, allocations: 3.234 MB / 476.9 MB, free: 2.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.2869, allocations: 80.42 kB / 476.9 MB, free: 2.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.287, allocations: 183.2 kB / 477.1 MB, free: 2.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.2871, allocations: 42.36 kB / 477.2 MB, free: 2.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.2871, allocations: 178.1 kB / 477.3 MB, free: 2.602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.2872, allocations: 182.4 kB / 477.5 MB, free: 2.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2873, allocations: 120 kB / 477.6 MB, free: 2.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.2874, allocations: 338.7 kB / 478 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.2878, allocations: 264.1 kB / 478.2 MB, free: 2.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.2882, allocations: 428.6 kB / 478.6 MB, free: 1.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.2891, allocations: 0.7023 MB / 479.3 MB, free: 1.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2891, allocations: 2.188 kB / 479.3 MB, free: 1.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001037/0.2901, allocations: 0.7773 MB / 480.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2901, allocations: 8.859 kB / 480.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2901, allocations: 3.5 kB / 480.1 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.2903, allocations: 56.3 kB / 480.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.2908, allocations: 186.3 kB / 480.4 MB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002476/0.291, allocations: 1.077 MB / 481.4 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.2914, allocations: 44.59 kB / 481.5 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.2914, allocations: 37 kB / 481.5 MB, free: 0.6328 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.0001454/0.2916, allocations: 178.1 kB / 481.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.2916, allocations: 25.73 kB / 481.7 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.2928, allocations: 0.7855 MB / 482.5 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.2928, allocations: 10.16 kB / 482.5 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2928, allocations: 1.094 kB / 482.5 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.2928, allocations: 3 kB / 482.5 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.2945, allocations: 1.446 MB / 484 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2945, allocations: 3.625 kB / 484 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.295, allocations: 149.2 kB / 484.1 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.295, allocations: 48.31 kB / 484.2 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2951, allocations: 25.22 kB / 484.2 MB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.2964, allocations: 2.52 MB / 486.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2964, allocations: 2.719 kB / 486.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.2977, allocations: 1.071 MB / 487.8 MB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.2977, allocations: 30.05 kB / 487.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.2978, allocations: 16.66 kB / 487.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.2981, allocations: 40.92 kB / 487.9 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.2982, allocations: 48.31 kB / 487.9 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.2982, allocations: 34.73 kB / 488 MB, free: 13.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.2983, allocations: 120.4 kB / 488.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2983, allocations: 2.875 kB / 488.1 MB, free: 12.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008975/0.2992, allocations: 394.7 kB / 488.5 MB, free: 12.91 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.002838/0.302, allocations: 2.396 MB / 490.9 MB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009725/0.303, allocations: 0.6342 MB / 491.5 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.303, allocations: 0 / 491.5 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005849/0.3036, allocations: 0.5296 MB / 492 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.304, allocations: 103.8 kB / 492.1 MB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.3087, allocations: 4.142 MB / 496.3 MB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.3088, allocations: 174.1 kB / 496.4 MB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004994/0.3093, allocations: 185.4 kB / 496.6 MB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.3096, allocations: 133.8 kB / 496.7 MB, free: 9.348 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3096, allocations: 0 / 496.7 MB, free: 9.348 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.3407, allocations: 21.11 MB / 0.5057 GB, free: 13.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.708/9.049, allocations: 6.062 kB / 0.5057 GB, free: 13.46 MB / 442.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 10.908195369876921]