Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00083/0.00083, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003168/0.003168, allocations: 160 kB / 24.69 MB, free: 9.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8649/0.8649, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.601e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2462/0.2462, allocations: 132.8 MB / 431.2 MB, free: 9.605 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.2489, allocations: 2.746 MB / 434 MB, free: 6.852 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2491, allocations: 4 kB / 434 MB, free: 6.848 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.2495, allocations: 99.36 kB / 434.1 MB, free: 6.75 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.2519, allocations: 1.241 MB / 435.3 MB, free: 5.504 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.2527, allocations: 396.8 kB / 435.7 MB, free: 5.117 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.2532, allocations: 470.6 kB / 436.2 MB, free: 4.656 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.2533, allocations: 13.8 kB / 436.2 MB, free: 4.645 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.2537, allocations: 283 kB / 436.5 MB, free: 4.367 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.2539, allocations: 135.6 kB / 436.6 MB, free: 4.234 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.2539, allocations: 16 kB / 436.6 MB, free: 4.219 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.2566, allocations: 1.837 MB / 438.5 MB, free: 2.375 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.2567, allocations: 143.6 kB / 438.6 MB, free: 2.234 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.2569, allocations: 127.8 kB / 438.7 MB, free: 2.109 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.259, allocations: 1.613 MB / 440.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.259, allocations: 0 / 440.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.259, allocations: 0 / 440.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.259, allocations: 1.875 kB / 440.3 MB, free: 0.4922 MB / 394.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.001421/0.2604, allocations: 0.7075 MB / 441 MB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.2605, allocations: 11.98 kB / 441 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/0.2605, allocations: 66.72 kB / 441.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.261, allocations: 108.7 kB / 441.2 MB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.2613, allocations: 229.3 kB / 441.4 MB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2613, allocations: 17.03 kB / 441.5 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.2614, allocations: 35.94 kB / 441.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.2622, allocations: 0.8904 MB / 442.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2622, allocations: 0 / 442.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.2622, allocations: 12 kB / 442.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.2623, allocations: 32.48 kB / 442.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2633, allocations: 0.642 MB / 443.1 MB, free: 13.6 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.001744/0.265, allocations: 1.182 MB / 444.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.2656, allocations: 354.3 kB / 444.6 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.2658, allocations: 162.6 kB / 444.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.2669, allocations: 0.5031 MB / 445.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2669, allocations: 43.44 kB / 445.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.2669, allocations: 4.219 kB / 445.3 MB, free: 11.29 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.008442/0.2754, allocations: 3.209 MB / 448.5 MB, free: 7.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2754, allocations: 89.05 kB / 448.6 MB, free: 7.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2755, allocations: 174.5 kB / 448.8 MB, free: 7.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.2756, allocations: 37.7 kB / 448.8 MB, free: 7.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.2757, allocations: 176.6 kB / 449 MB, free: 7.449 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2758, allocations: 182.5 kB / 449.2 MB, free: 7.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2759, allocations: 122.2 kB / 449.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.276, allocations: 338.8 kB / 449.6 MB, free: 6.805 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.2765, allocations: 261.1 kB / 449.9 MB, free: 6.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.277, allocations: 425.5 kB / 450.3 MB, free: 6.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.2779, allocations: 0.6914 MB / 451 MB, free: 5.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.2779, allocations: 4 kB / 451 MB, free: 5.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001131/0.2791, allocations: 0.7839 MB / 451.8 MB, free: 4.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2791, allocations: 8.625 kB / 451.8 MB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2791, allocations: 4 kB / 451.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.2792, allocations: 62.31 kB / 451.8 MB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.2798, allocations: 179.7 kB / 452 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004596/0.2802, allocations: 1.073 MB / 453.1 MB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.2806, allocations: 48.14 kB / 453.1 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.2806, allocations: 35.98 kB / 453.2 MB, free: 3.047 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.000444/0.2811, allocations: 177.6 kB / 453.3 MB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.2812, allocations: 31.86 kB / 453.4 MB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.2824, allocations: 0.7786 MB / 454.1 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2824, allocations: 8 kB / 454.2 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2824, allocations: 7.375 kB / 454.2 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.2824, allocations: 7.984 kB / 454.2 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.2843, allocations: 1.462 MB / 455.6 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2843, allocations: 224 / 455.6 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.2848, allocations: 151.7 kB / 455.8 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-05/0.2849, allocations: 45.62 kB / 455.8 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.2849, allocations: 23.97 kB / 455.9 MB, free: 260 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.2861, allocations: 2.511 MB / 458.4 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2861, allocations: 4.031 kB / 458.4 MB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.2875, allocations: 1.075 MB / 459.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.2876, allocations: 27.81 kB / 459.5 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2876, allocations: 16 kB / 459.5 MB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.288, allocations: 44 kB / 459.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.288, allocations: 43.86 kB / 459.6 MB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.2881, allocations: 35.97 kB / 459.6 MB, free: 12.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.2881, allocations: 127.2 kB / 459.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2881, allocations: 0 / 459.7 MB, free: 12.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001034/0.2892, allocations: 391.2 kB / 460.1 MB, free: 11.72 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.003462/0.2926, allocations: 2.394 MB / 462.5 MB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.2938, allocations: 0.6302 MB / 463.1 MB, free: 8.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2938, allocations: 4 kB / 463.1 MB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.2944, allocations: 0.5209 MB / 463.7 MB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.2949, allocations: 96.92 kB / 463.8 MB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005448/0.3003, allocations: 4.146 MB / 467.9 MB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3005, allocations: 168 kB / 468.1 MB, free: 3.402 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005495/0.301, allocations: 195.1 kB / 468.3 MB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3013, allocations: 136.4 kB / 468.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3013, allocations: 0 / 468.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/0.4511, allocations: 20.88 MB / 489.3 MB, free: 147.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.6, allocations: 1.125 kB / 489.3 MB, free: 147.6 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.346401518210769]