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.0007747/0.0007747, 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.0008215/0.0008215, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8601/0.8601, allocations: 177 MB / 204.1 MB, free: 5.738 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.923e-06/1.923e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.782e-05, allocations: 6.219 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3034/0.3034, allocations: 134.2 MB / 458.7 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.3056, allocations: 3.613 MB / 462.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.3057, allocations: 2.938 kB / 462.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.306, allocations: 96.11 kB / 462.4 MB, free: 5.504 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3073, allocations: 1.241 MB / 463.6 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3078, allocations: 405.9 kB / 464 MB, free: 5.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.3081, allocations: 467.5 kB / 464.5 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.3082, allocations: 10.66 kB / 464.5 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.3085, allocations: 308.9 kB / 464.8 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3086, allocations: 134.2 kB / 464.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.3086, allocations: 16.59 kB / 464.9 MB, free: 5.426 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3102, allocations: 1.847 MB / 466.8 MB, free: 5.402 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.3103, allocations: 148 kB / 466.9 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.3104, allocations: 131 kB / 467.1 MB, free: 5.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.3114, allocations: 1.614 MB / 468.7 MB, free: 5.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3114, allocations: 0 / 468.7 MB, free: 5.344 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3114, allocations: 0.9688 kB / 468.7 MB, free: 5.344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3114, allocations: 0 / 468.7 MB, free: 5.344 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.001133/0.3126, allocations: 0.708 MB / 469.4 MB, free: 4.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3126, allocations: 13.55 kB / 469.4 MB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.198e-05/0.3127, allocations: 65.22 kB / 469.5 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.3131, allocations: 114.4 kB / 469.6 MB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3133, allocations: 219 kB / 469.8 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3133, allocations: 23.56 kB / 469.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.3134, allocations: 29.81 kB / 469.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.314, allocations: 0.8998 MB / 470.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.314, allocations: 3.312 kB / 470.7 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.314, allocations: 9.875 kB / 470.8 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.3141, allocations: 24.06 kB / 470.8 MB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.3147, allocations: 0.6403 MB / 471.4 MB, free: 4.316 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.001493/0.3162, allocations: 1.191 MB / 472.6 MB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3167, allocations: 348.1 kB / 473 MB, free: 3.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3169, allocations: 168.7 kB / 473.1 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/0.3178, allocations: 482.7 kB / 473.6 MB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3178, allocations: 37.44 kB / 473.6 MB, free: 3.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.3178, allocations: 7.469 kB / 473.6 MB, free: 3.809 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.007211/0.325, allocations: 3.226 MB / 476.9 MB, free: 3.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3251, allocations: 80.58 kB / 476.9 MB, free: 2.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.3252, allocations: 183.3 kB / 477.1 MB, free: 2.824 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3252, allocations: 31.36 kB / 477.1 MB, free: 2.793 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.3253, allocations: 187.3 kB / 477.3 MB, free: 2.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.3253, allocations: 185.8 kB / 477.5 MB, free: 2.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3255, allocations: 113.8 kB / 477.6 MB, free: 2.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.135e-05/0.3255, allocations: 341.3 kB / 478 MB, free: 2.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.3259, allocations: 263.8 kB / 478.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3263, allocations: 425.2 kB / 478.6 MB, free: 2.008 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008418/0.3272, allocations: 0.7029 MB / 479.3 MB, free: 1.816 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3272, allocations: 0 / 479.3 MB, free: 1.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001099/0.3283, allocations: 0.78 MB / 480.1 MB, free: 1.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3283, allocations: 9.875 kB / 480.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3283, allocations: 5.406 kB / 480.1 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.3284, allocations: 63.38 kB / 480.2 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.329, allocations: 179.2 kB / 480.4 MB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002682/0.3292, allocations: 1.077 MB / 481.4 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.3296, allocations: 46.19 kB / 481.5 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.3296, allocations: 36.66 kB / 481.5 MB, free: 0.6758 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.0001462/0.3297, allocations: 177.5 kB / 481.7 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.3298, allocations: 30.44 kB / 481.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.3309, allocations: 0.7819 MB / 482.5 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3309, allocations: 10.47 kB / 482.5 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3309, allocations: 0 / 482.5 MB, free: 452 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3309, allocations: 6.953 kB / 482.5 MB, free: 448 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3326, allocations: 1.446 MB / 484 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3327, allocations: 3.594 kB / 484 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.3331, allocations: 150.7 kB / 484.1 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.166e-05/0.3332, allocations: 42.09 kB / 484.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.3332, allocations: 30.22 kB / 484.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.3344, allocations: 2.518 MB / 486.7 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3344, allocations: 2.312 kB / 486.7 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3357, allocations: 1.074 MB / 487.8 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.3357, allocations: 20.48 kB / 487.8 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.3358, allocations: 18.48 kB / 487.8 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.3361, allocations: 38.75 kB / 487.9 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3362, allocations: 51.69 kB / 487.9 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.3362, allocations: 35.94 kB / 487.9 MB, free: 13.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.3363, allocations: 122.3 kB / 488.1 MB, free: 13 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3363, allocations: 0 / 488.1 MB, free: 13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001129/0.3374, allocations: 395.2 kB / 488.5 MB, free: 12.95 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.003069/0.3405, allocations: 2.396 MB / 490.8 MB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.3414, allocations: 0.6396 MB / 491.5 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3414, allocations: 0 / 491.5 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005774/0.342, allocations: 0.5271 MB / 492 MB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3425, allocations: 97.62 kB / 492.1 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.3468, allocations: 4.145 MB / 496.3 MB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3469, allocations: 174.4 kB / 496.4 MB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004896/0.3474, allocations: 188.1 kB / 496.6 MB, free: 9.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.3476, allocations: 133.2 kB / 496.7 MB, free: 9.395 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3476, allocations: 0 / 496.7 MB, free: 9.395 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3817, allocations: 21.12 MB / 0.5057 GB, free: 13.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.52, allocations: 3.266 kB / 0.5057 GB, free: 13.49 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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.317556496709585]