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.0007591/0.0007591, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00293/0.00293, allocations: 160 kB / 24.7 MB, free: 9.441 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.8218/0.8218, allocations: 177 MB / 204.9 MB, free: 5.719 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: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.653e-05, allocations: 2.844 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2833/0.2833, allocations: 134.2 MB / 459.9 MB, free: 6.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.2856, allocations: 3.609 MB / 463.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.2857, allocations: 3.781 kB / 463.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.286, allocations: 98.36 kB / 463.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.2876, allocations: 1.242 MB / 464.9 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.2882, allocations: 407 kB / 465.3 MB, free: 5.961 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00041/0.2886, allocations: 468.6 kB / 465.8 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.2887, allocations: 14.88 kB / 465.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003204/0.289, allocations: 300.5 kB / 466.1 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2891, allocations: 135.9 kB / 466.2 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2891, allocations: 16.03 kB / 466.2 MB, free: 5.949 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.291, allocations: 1.852 MB / 468.1 MB, free: 5.926 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.2911, allocations: 145.1 kB / 468.2 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.262e-05/0.2912, allocations: 133.2 kB / 468.3 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.2926, allocations: 1.613 MB / 469.9 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2926, allocations: 0 / 469.9 MB, free: 5.863 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2926, allocations: 0 / 469.9 MB, free: 5.863 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2926, allocations: 0 / 469.9 MB, free: 5.863 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.001245/0.2939, allocations: 0.6971 MB / 470.6 MB, free: 5.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.2939, allocations: 16.89 kB / 470.7 MB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.2943, allocations: 111 kB / 470.8 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2945, allocations: 227.4 kB / 471 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2945, allocations: 24.17 kB / 471 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.2946, allocations: 28 kB / 471 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/0.2952, allocations: 0.8984 MB / 471.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2952, allocations: 2.688 kB / 471.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.2953, allocations: 12.34 kB / 472 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.2953, allocations: 21.02 kB / 472 MB, free: 4.867 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.2959, allocations: 0.6439 MB / 472.6 MB, free: 4.859 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.001424/0.2973, allocations: 1.142 MB / 473.8 MB, free: 4.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.2978, allocations: 343.7 kB / 474.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.298, allocations: 166.6 kB / 474.3 MB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008771/0.2989, allocations: 486.7 kB / 474.7 MB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.2989, allocations: 39 kB / 474.8 MB, free: 4.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.2989, allocations: 0 / 474.8 MB, free: 4.363 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.006963/0.3059, allocations: 3.221 MB / 478 MB, free: 3.586 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.3059, allocations: 87.8 kB / 478.1 MB, free: 3.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.306, allocations: 185.2 kB / 478.3 MB, free: 3.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.306, allocations: 34.7 kB / 478.3 MB, free: 3.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.3061, allocations: 182.5 kB / 478.5 MB, free: 3.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.3062, allocations: 182.8 kB / 478.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3063, allocations: 114.3 kB / 478.8 MB, free: 3.062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.3063, allocations: 341.4 kB / 479.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3067, allocations: 267.4 kB / 479.4 MB, free: 2.742 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.3071, allocations: 419.5 kB / 479.8 MB, free: 2.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.3079, allocations: 0.7023 MB / 480.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3079, allocations: 2.25 kB / 480.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009969/0.3089, allocations: 0.7792 MB / 481.3 MB, free: 2.297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3089, allocations: 11.53 kB / 481.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3089, allocations: 6.594 kB / 481.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000124/0.3091, allocations: 55.42 kB / 481.3 MB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/0.3096, allocations: 179.7 kB / 481.5 MB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002503/0.3098, allocations: 1.083 MB / 482.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.3101, allocations: 41 kB / 482.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.3102, allocations: 38.17 kB / 482.7 MB, free: 1.234 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.0001358/0.3103, allocations: 178.2 kB / 482.8 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.3104, allocations: 32.89 kB / 482.9 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3115, allocations: 0.7828 MB / 483.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3115, allocations: 6.547 kB / 483.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3115, allocations: 2.719 kB / 483.7 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3115, allocations: 6.891 kB / 483.7 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.3131, allocations: 1.399 MB / 485.1 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3131, allocations: 3.625 kB / 485.1 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/0.3135, allocations: 142.2 kB / 485.2 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/0.3136, allocations: 48.91 kB / 485.3 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.3136, allocations: 27.8 kB / 485.3 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009597/0.3146, allocations: 2.477 MB / 487.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3146, allocations: 2.531 kB / 487.8 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.3159, allocations: 1.077 MB / 488.8 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.3159, allocations: 20.52 kB / 488.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3159, allocations: 12.28 kB / 488.9 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.3163, allocations: 41.92 kB / 488.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3163, allocations: 48.14 kB / 489 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.3164, allocations: 34.58 kB / 489 MB, free: 13.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.164e-05/0.3164, allocations: 122.7 kB / 489.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3164, allocations: 0 / 489.1 MB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009165/0.3173, allocations: 402.5 kB / 489.5 MB, free: 13.6 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.001344/0.3187, allocations: 0.881 MB / 490.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009285/0.3196, allocations: 0.6357 MB / 491 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3196, allocations: 0 / 491 MB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.3201, allocations: 0.5248 MB / 491.5 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.3206, allocations: 108.2 kB / 491.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3217, allocations: 0.9308 MB / 492.6 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.3218, allocations: 174.4 kB / 492.8 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.322, allocations: 78.3 kB / 492.8 MB, free: 12.53 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.322, allocations: 0 / 492.8 MB, free: 12.53 MB / 426.7 MB Notification: Performance of Templates: time 0.01058/0.3326, allocations: 15.03 MB / 0.4959 GB, free: 6.945 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] 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: 6.4552540211007]