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.0009735/0.0009735, allocations: 91.61 kB / 22.18 MB, free: 2.383 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.0009254/0.0009254, allocations: 156.9 kB / 25.45 MB, free: 9.352 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.8268/0.8268, allocations: 158.6 MB / 187.2 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: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.223e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2646/0.2646, allocations: 132.8 MB / 432.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2666, allocations: 2.746 MB / 435.2 MB, free: 4.125 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.2667, allocations: 3.938 kB / 435.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.2671, allocations: 95.42 kB / 435.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.2686, allocations: 1.241 MB / 436.6 MB, free: 2.781 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.2692, allocations: 404.6 kB / 437 MB, free: 2.387 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.2695, allocations: 466.8 kB / 437.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.2696, allocations: 9.812 kB / 437.4 MB, free: 1.922 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.2699, allocations: 298.9 kB / 437.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.27, allocations: 123.7 kB / 437.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.2701, allocations: 16 kB / 437.9 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.272, allocations: 1.845 MB / 439.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.2721, allocations: 147.6 kB / 439.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.2722, allocations: 131.7 kB / 440 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.2735, allocations: 1.598 MB / 441.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2735, allocations: 0 / 441.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2735, allocations: 0 / 441.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2735, allocations: 5.25 kB / 441.6 MB, free: 13.76 MB / 378.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.001232/0.2748, allocations: 0.7164 MB / 442.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2748, allocations: 15.92 kB / 442.3 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.2752, allocations: 100.7 kB / 442.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.2755, allocations: 221.4 kB / 442.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2755, allocations: 25.22 kB / 442.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.2755, allocations: 35.86 kB / 442.7 MB, free: 12.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007363/0.2763, allocations: 0.8983 MB / 443.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2763, allocations: 0 / 443.6 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.2763, allocations: 15.94 kB / 443.6 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.2763, allocations: 20.48 kB / 443.6 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.2771, allocations: 0.6382 MB / 444.3 MB, free: 10.95 MB / 378.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.001538/0.2786, allocations: 1.137 MB / 445.4 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.2791, allocations: 346.7 kB / 445.7 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.2793, allocations: 175.8 kB / 445.9 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/0.2803, allocations: 0.4953 MB / 446.4 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.2803, allocations: 38.56 kB / 446.4 MB, free: 8.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.2803, allocations: 0 / 446.4 MB, free: 8.695 MB / 378.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.007285/0.2876, allocations: 3.213 MB / 449.7 MB, free: 5.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2876, allocations: 85.11 kB / 449.7 MB, free: 5.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2877, allocations: 178.5 kB / 449.9 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.2878, allocations: 37.7 kB / 450 MB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.2878, allocations: 184.5 kB / 450.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.81e-05/0.2879, allocations: 178.5 kB / 450.3 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2881, allocations: 118.2 kB / 450.4 MB, free: 4.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.2881, allocations: 338.8 kB / 450.8 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.2885, allocations: 269.1 kB / 451 MB, free: 3.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.289, allocations: 425.5 kB / 451.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.2899, allocations: 0.698 MB / 452.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2899, allocations: 0 / 452.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001067/0.291, allocations: 0.784 MB / 452.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.291, allocations: 8 kB / 452.9 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.291, allocations: 4 kB / 452.9 MB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.2911, allocations: 57.62 kB / 453 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.2916, allocations: 184.3 kB / 453.2 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/0.292, allocations: 1.077 MB / 454.2 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2923, allocations: 44.14 kB / 454.3 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.2924, allocations: 35.98 kB / 454.3 MB, free: 456 kB / 378.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.0001546/0.2926, allocations: 177.6 kB / 454.5 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.2926, allocations: 35.73 kB / 454.5 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.2938, allocations: 0.7751 MB / 455.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2938, allocations: 4 kB / 455.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2938, allocations: 7.984 kB / 455.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2938, allocations: 3.984 kB / 455.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2955, allocations: 1.4 MB / 456.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2955, allocations: 0 / 456.7 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.296, allocations: 152 kB / 456.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.665e-05/0.2961, allocations: 45.62 kB / 456.9 MB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.2961, allocations: 27.91 kB / 456.9 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.2971, allocations: 2.466 MB / 459.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2971, allocations: 11.95 kB / 459.4 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.2985, allocations: 1.067 MB / 460.5 MB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.2985, allocations: 31.89 kB / 460.5 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.2986, allocations: 8 kB / 460.5 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2989, allocations: 43.95 kB / 460.6 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.2989, allocations: 47.89 kB / 460.6 MB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.299, allocations: 35.97 kB / 460.6 MB, free: 9.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.621e-05/0.299, allocations: 127.2 kB / 460.8 MB, free: 9.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.299, allocations: 0 / 460.8 MB, free: 9.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008922/0.2999, allocations: 391.2 kB / 461.2 MB, free: 9.266 MB / 394.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.001422/0.3014, allocations: 0.8765 MB / 462 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.3023, allocations: 0.6369 MB / 462.7 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3023, allocations: 0 / 462.7 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.3029, allocations: 0.5286 MB / 463.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3033, allocations: 103.8 kB / 463.3 MB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3045, allocations: 0.9175 MB / 464.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.3046, allocations: 168 kB / 464.4 MB, free: 5.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.3048, allocations: 80.42 kB / 464.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3048, allocations: 4 kB / 464.5 MB, free: 5.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01165/0.3165, allocations: 14.85 MB / 479.3 MB, free: 6.957 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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: 6.588388169184327]