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.001994/0.001994, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.002354/0.002354, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 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 1.438/1.438, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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.993e-06/1.993e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.963e-05, allocations: 5.969 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2708/0.2708, allocations: 131.3 MB / 398.6 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.2761, allocations: 3.609 MB / 402.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2762, allocations: 0 / 402.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004681/0.2767, allocations: 95.36 kB / 402.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.2799, allocations: 1.24 MB / 403.6 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.281, allocations: 398.5 kB / 404 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007061/0.2817, allocations: 470.6 kB / 404.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.2818, allocations: 9.812 kB / 404.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.2824, allocations: 283.1 kB / 404.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.2829, allocations: 139.6 kB / 404.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/0.2829, allocations: 16 kB / 404.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.2867, allocations: 1.846 MB / 406.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.2869, allocations: 143.6 kB / 406.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2871, allocations: 123.8 kB / 407 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002782/0.2899, allocations: 1.617 MB / 408.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.2899, allocations: 7.984 kB / 408.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2899, allocations: 0 / 408.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.2899, allocations: 0 / 408.6 MB, free: 11.36 MB / 362.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.002311/0.2922, allocations: 0.6998 MB / 409.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2923, allocations: 8.922 kB / 409.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000901/0.2932, allocations: 164.5 kB / 409.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.2936, allocations: 221.5 kB / 409.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.2937, allocations: 24.59 kB / 409.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.2938, allocations: 28 kB / 409.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2952, allocations: 0.9022 MB / 410.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2953, allocations: 0 / 410.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.2953, allocations: 12 kB / 410.6 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.2954, allocations: 20.48 kB / 410.7 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.2968, allocations: 0.6421 MB / 411.3 MB, free: 8.508 MB / 362.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.00334/0.3002, allocations: 1.136 MB / 412.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3012, allocations: 349.4 kB / 412.8 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.3017, allocations: 161.6 kB / 412.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/0.3039, allocations: 0.4993 MB / 413.4 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.3039, allocations: 38.55 kB / 413.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.3039, allocations: 4 kB / 413.5 MB, free: 6.258 MB / 362.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.01611/0.32, allocations: 3.241 MB / 416.7 MB, free: 2.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.3201, allocations: 85.11 kB / 416.8 MB, free: 2.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.3203, allocations: 183.1 kB / 417 MB, free: 2.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.3204, allocations: 33.7 kB / 417 MB, free: 2.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.3206, allocations: 184.5 kB / 417.2 MB, free: 2.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.3208, allocations: 186.4 kB / 417.4 MB, free: 2.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/0.3211, allocations: 118.3 kB / 417.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3213, allocations: 334.8 kB / 417.8 MB, free: 1.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008583/0.3221, allocations: 265.1 kB / 418.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3231, allocations: 429.5 kB / 418.5 MB, free: 1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.3252, allocations: 0.7038 MB / 419.2 MB, free: 236 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3252, allocations: 0 / 419.2 MB, free: 236 kB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002432/0.3277, allocations: 0.8078 MB / 420 MB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3277, allocations: 8.625 kB / 420 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3277, allocations: 8 kB / 420 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.3279, allocations: 57.69 kB / 420.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3292, allocations: 175.7 kB / 420.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009403/0.3301, allocations: 1.085 MB / 421.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000798/0.3309, allocations: 39.97 kB / 421.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.15e-05/0.331, allocations: 39.97 kB / 421.4 MB, free: 13.95 MB / 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.0002937/0.3313, allocations: 173.6 kB / 421.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3315, allocations: 43.81 kB / 421.6 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.3339, allocations: 0.7789 MB / 422.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3339, allocations: 8 kB / 422.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.3339, allocations: 4 kB / 422.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3339, allocations: 3.938 kB / 422.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.3376, allocations: 1.411 MB / 423.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3376, allocations: 4 kB / 423.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.3387, allocations: 139.8 kB / 424 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.3389, allocations: 45.88 kB / 424 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/0.339, allocations: 27.97 kB / 424 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.3415, allocations: 2.484 MB / 426.5 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3415, allocations: 4.031 kB / 426.5 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3445, allocations: 1.094 MB / 427.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.3445, allocations: 19.86 kB / 427.6 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.3446, allocations: 20 kB / 427.7 MB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/0.3455, allocations: 39.94 kB / 427.7 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.3456, allocations: 47.91 kB / 427.7 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.351e-05/0.3456, allocations: 31.97 kB / 427.8 MB, free: 7.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3458, allocations: 127.5 kB / 427.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3458, allocations: 4 kB / 427.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001459/0.3472, allocations: 387.2 kB / 428.3 MB, free: 6.723 MB / 378.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.002725/0.3499, allocations: 0.8843 MB / 429.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.3521, allocations: 0.6329 MB / 429.8 MB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.3521, allocations: 8 kB / 429.8 MB, free: 5.191 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3533, allocations: 0.5169 MB / 430.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.3542, allocations: 124.4 kB / 430.4 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3565, allocations: 0.8799 MB / 431.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3567, allocations: 183.9 kB / 431.5 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008903/0.3576, allocations: 195 kB / 431.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.358, allocations: 64.45 kB / 431.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.358, allocations: 0 / 431.8 MB, free: 3.133 MB / 378.7 MB Notification: Performance of Templates: time 0.1165/0.4745, allocations: 16.37 MB / 448.1 MB, free: 137.4 MB / 378.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: 5.57977206306532]