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.0009539/0.0009539, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003799/0.003799, allocations: 144.5 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8248/0.8248, allocations: 173.4 MB / 201.2 MB, free: 9.41 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.793e-05, allocations: 2.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1164/0.1164, allocations: 131.3 MB / 451 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1855/0.3018, allocations: 3.603 MB / 454.6 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.302, allocations: 2.031 kB / 454.6 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.3024, allocations: 94.72 kB / 454.7 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.3047, allocations: 1.238 MB / 455.9 MB, free: 6.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.3054, allocations: 405.2 kB / 456.3 MB, free: 6.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.3059, allocations: 469.2 kB / 456.8 MB, free: 6.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.974e-05/0.306, allocations: 12.83 kB / 456.8 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003743/0.3064, allocations: 294.9 kB / 457.1 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3065, allocations: 129.4 kB / 457.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.3066, allocations: 15.66 kB / 457.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.3092, allocations: 1.843 MB / 459 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3093, allocations: 144.2 kB / 459.2 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.3095, allocations: 125.9 kB / 459.3 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.3117, allocations: 1.605 MB / 460.9 MB, free: 6.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3117, allocations: 0 / 460.9 MB, free: 6.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3117, allocations: 0 / 460.9 MB, free: 6.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3117, allocations: 4.469 kB / 460.9 MB, free: 6.168 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.001627/0.3133, allocations: 0.7031 MB / 461.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3134, allocations: 9.516 kB / 461.6 MB, free: 5.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.3138, allocations: 113.4 kB / 461.7 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3141, allocations: 226.8 kB / 462 MB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3141, allocations: 17.03 kB / 462 MB, free: 5.625 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.3142, allocations: 30.78 kB / 462 MB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.3149, allocations: 0.9043 MB / 462.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3149, allocations: 0 / 462.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.3149, allocations: 14.36 kB / 462.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.3149, allocations: 23.91 kB / 462.9 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.3156, allocations: 0.6434 MB / 463.6 MB, free: 5.18 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.001529/0.3171, allocations: 1.14 MB / 464.7 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.3176, allocations: 348.4 kB / 465.1 MB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3179, allocations: 172.1 kB / 465.2 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.3189, allocations: 494.8 kB / 465.7 MB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3189, allocations: 42.27 kB / 465.8 MB, free: 4.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.084e-06/0.3189, allocations: 0 / 465.8 MB, free: 4.707 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.007323/0.3262, allocations: 3.214 MB / 469 MB, free: 3.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.3263, allocations: 87.41 kB / 469.1 MB, free: 3.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3264, allocations: 183.2 kB / 469.2 MB, free: 3.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.3264, allocations: 37.47 kB / 469.3 MB, free: 3.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.3265, allocations: 179.5 kB / 469.5 MB, free: 3.602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.3265, allocations: 179 kB / 469.6 MB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3267, allocations: 118.2 kB / 469.7 MB, free: 3.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.282e-05/0.3267, allocations: 334.7 kB / 470.1 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/0.3271, allocations: 267.2 kB / 470.3 MB, free: 3.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.3276, allocations: 436 kB / 470.8 MB, free: 2.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.3284, allocations: 0.6919 MB / 471.4 MB, free: 2.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3284, allocations: 0 / 471.4 MB, free: 2.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001092/0.3295, allocations: 0.7823 MB / 472.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3295, allocations: 9.219 kB / 472.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3296, allocations: 4.406 kB / 472.2 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.3297, allocations: 60.5 kB / 472.3 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.3302, allocations: 175.3 kB / 472.5 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003065/0.3305, allocations: 1.083 MB / 473.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3309, allocations: 41.8 kB / 473.6 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.331, allocations: 40.11 kB / 473.6 MB, free: 1.664 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.0001728/0.3311, allocations: 176.7 kB / 473.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.3312, allocations: 32.58 kB / 473.8 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.3324, allocations: 0.781 MB / 474.6 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3324, allocations: 5.469 kB / 474.6 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3324, allocations: 2 kB / 474.6 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3324, allocations: 10.36 kB / 474.6 MB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.3341, allocations: 1.4 MB / 476 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3341, allocations: 6.969 kB / 476 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.3346, allocations: 146.3 kB / 476.2 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.104e-05/0.3347, allocations: 45.47 kB / 476.2 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.3347, allocations: 24.31 kB / 476.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/0.3357, allocations: 2.477 MB / 478.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3357, allocations: 5.344 kB / 478.7 MB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3372, allocations: 1.071 MB / 479.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.3372, allocations: 23.2 kB / 479.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.3372, allocations: 13.39 kB / 479.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.3376, allocations: 39.5 kB / 479.9 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.3377, allocations: 50.48 kB / 479.9 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.3377, allocations: 33.03 kB / 480 MB, free: 14.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.3378, allocations: 122.4 kB / 480.1 MB, free: 14.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3378, allocations: 3.938 kB / 480.1 MB, free: 14.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001278/0.339, allocations: 395.7 kB / 480.5 MB, free: 14.1 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.001738/0.3408, allocations: 0.8898 MB / 481.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3419, allocations: 0.6315 MB / 482 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3419, allocations: 1 kB / 482 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006132/0.3425, allocations: 0.5272 MB / 482.5 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.343, allocations: 93.45 kB / 482.6 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.3443, allocations: 0.9173 MB / 483.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3445, allocations: 185.4 kB / 483.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.3448, allocations: 81.98 kB / 483.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3448, allocations: 0 / 483.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of Templates: time 0.01614/0.3609, allocations: 14.87 MB / 498.7 MB, free: 9.277 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.968616668134928]