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.00151/0.00151, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001556/0.001556, allocations: 170 kB / 25.02 MB, free: 7.902 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 1.376/1.376, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.914e-06/1.914e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.293e-05, allocations: 5.406 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3121/0.3121, allocations: 132.8 MB / 383.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004252/0.3163, allocations: 2.746 MB / 385.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3164, allocations: 7.938 kB / 385.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.3169, allocations: 91.44 kB / 386 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.3198, allocations: 1.244 MB / 387.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.3209, allocations: 390.5 kB / 387.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007316/0.3217, allocations: 470.7 kB / 388.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.3217, allocations: 10.33 kB / 388.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005591/0.3223, allocations: 291 kB / 388.4 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3226, allocations: 135.6 kB / 388.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.3226, allocations: 15.94 kB / 388.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.3268, allocations: 1.849 MB / 390.4 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.327, allocations: 139.6 kB / 390.5 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3272, allocations: 131.8 kB / 390.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.3299, allocations: 1.605 MB / 392.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3299, allocations: 0 / 392.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3299, allocations: 8 kB / 392.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3299, allocations: 0 / 392.3 MB, free: 7.836 MB / 330.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.002328/0.3322, allocations: 0.7075 MB / 393 MB, free: 7.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.3322, allocations: 11.98 kB / 393 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009074/0.3332, allocations: 164.5 kB / 393.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.3336, allocations: 213.5 kB / 393.4 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3336, allocations: 21.16 kB / 393.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.3337, allocations: 43.89 kB / 393.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.3352, allocations: 0.8982 MB / 394.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3353, allocations: 0 / 394.3 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.3353, allocations: 27.97 kB / 394.3 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.3354, allocations: 16.5 kB / 394.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.3368, allocations: 0.642 MB / 395 MB, free: 4.957 MB / 330.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.003153/0.34, allocations: 1.133 MB / 396.1 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.3413, allocations: 350 kB / 396.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.3418, allocations: 172.4 kB / 396.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002234/0.344, allocations: 495.5 kB / 397.1 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.3441, allocations: 42.55 kB / 397.2 MB, free: 2.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/0.3441, allocations: 4 kB / 397.2 MB, free: 2.719 MB / 330.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.01664/0.3607, allocations: 3.235 MB / 400.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.3608, allocations: 89.09 kB / 400.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.361, allocations: 182.4 kB / 400.7 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.3611, allocations: 37.7 kB / 400.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3613, allocations: 176.6 kB / 400.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.3615, allocations: 186.3 kB / 401.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.3617, allocations: 118.3 kB / 401.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3619, allocations: 338.8 kB / 401.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008214/0.3628, allocations: 261.1 kB / 401.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/0.3638, allocations: 429.4 kB / 402.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.3656, allocations: 0.6953 MB / 402.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3656, allocations: 4 kB / 402.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003106/0.3688, allocations: 0.8142 MB / 403.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.3688, allocations: 8 kB / 403.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3688, allocations: 4 kB / 403.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.3692, allocations: 58.31 kB / 403.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.3708, allocations: 171.7 kB / 403.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3718, allocations: 1.089 MB / 405 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.3727, allocations: 44.14 kB / 405.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-05/0.3728, allocations: 39.98 kB / 405.1 MB, free: 10.41 MB / 346.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.0002956/0.3731, allocations: 173.6 kB / 405.3 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.3733, allocations: 47.8 kB / 405.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.3758, allocations: 0.7826 MB / 406.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.3758, allocations: 4 kB / 406.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3758, allocations: 0 / 406.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3758, allocations: 7.984 kB / 406.1 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.3795, allocations: 1.399 MB / 407.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3795, allocations: 4.219 kB / 407.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.3806, allocations: 151.7 kB / 407.7 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.3808, allocations: 41.69 kB / 407.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.3809, allocations: 19.98 kB / 407.7 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/0.3832, allocations: 2.485 MB / 410.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3833, allocations: 4.031 kB / 410.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.3865, allocations: 1.088 MB / 411.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.3866, allocations: 31.86 kB / 411.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.3867, allocations: 12.03 kB / 411.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.3875, allocations: 39.95 kB / 411.4 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.3876, allocations: 39.88 kB / 411.4 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/0.3877, allocations: 35.97 kB / 411.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3878, allocations: 127.2 kB / 411.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3878, allocations: 0 / 411.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001469/0.3893, allocations: 395.2 kB / 412 MB, free: 3.18 MB / 346.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.002556/0.3918, allocations: 0.8843 MB / 412.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.3939, allocations: 0.6327 MB / 413.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3939, allocations: 0 / 413.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.3952, allocations: 0.5292 MB / 414 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.396, allocations: 124 kB / 414.1 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3982, allocations: 0.8931 MB / 415 MB, free: 40 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3984, allocations: 176 kB / 415.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008738/0.3993, allocations: 187.1 kB / 415.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.3996, allocations: 64.45 kB / 415.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3996, allocations: 0 / 415.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Templates: time 0.03021/0.4298, allocations: 16.35 MB / 431.8 MB, free: 15.24 MB / 378.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: 5.528813912998885]