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.001665/0.001665, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001803/0.001803, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002201/0.002201, allocations: 63.89 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2791, allocations: 53.4 MB / 432.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4167/0.6957, allocations: 134.2 MB / 0.5533 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004914/0.7007, allocations: 3.615 MB / 0.5568 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.7009, allocations: 2.406 kB / 0.5568 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.7016, allocations: 94.66 kB / 0.5569 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.7059, allocations: 1.21 MB / 0.5581 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.7072, allocations: 398.7 kB / 0.5584 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.7079, allocations: 462.1 kB / 0.5589 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.708, allocations: 10.86 kB / 0.5589 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000586/0.7086, allocations: 251.7 kB / 0.5591 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.7089, allocations: 150 kB / 0.5593 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.036e-05/0.709, allocations: 21.25 kB / 0.5593 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.7134, allocations: 1.829 MB / 0.5611 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.7137, allocations: 135.7 kB / 0.5612 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.714, allocations: 155.1 kB / 0.5614 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003798/0.7178, allocations: 1.472 MB / 0.5628 GB, free: 15.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7178, allocations: 4 kB / 0.5628 GB, free: 15.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7178, allocations: 0 / 0.5628 GB, free: 15.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.7179, allocations: 0 / 0.5628 GB, free: 15.67 MB / 462.1 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.002827/0.7207, allocations: 0.7048 MB / 0.5635 GB, free: 15.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.7207, allocations: 12.14 kB / 0.5635 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008618/0.7216, allocations: 112.3 kB / 0.5636 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.7222, allocations: 224.7 kB / 0.5638 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.7222, allocations: 17.38 kB / 0.5638 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.7223, allocations: 28.81 kB / 0.5639 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.7237, allocations: 0.8984 MB / 0.5647 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.7237, allocations: 4 kB / 0.5648 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.7238, allocations: 16.44 kB / 0.5648 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.7238, allocations: 17.09 kB / 0.5648 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.7251, allocations: 0.6496 MB / 0.5654 GB, free: 14.67 MB / 462.1 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.00311/0.7282, allocations: 1.126 MB / 0.5665 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009377/0.7291, allocations: 350.5 kB / 0.5669 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.7296, allocations: 170.7 kB / 0.567 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.7317, allocations: 476.3 kB / 0.5675 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.7317, allocations: 47.12 kB / 0.5675 GB, free: 14.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.7317, allocations: 0 / 0.5675 GB, free: 14.17 MB / 462.1 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.0152/0.7469, allocations: 3.196 MB / 0.5706 GB, free: 13.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.747, allocations: 85.11 kB / 0.5707 GB, free: 13.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.7472, allocations: 181 kB / 0.5709 GB, free: 13.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.753e-05/0.7473, allocations: 35.73 kB / 0.5709 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.7474, allocations: 192.6 kB / 0.5711 GB, free: 13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.7476, allocations: 188.6 kB / 0.5713 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.7478, allocations: 117.1 kB / 0.5714 GB, free: 12.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.748, allocations: 340.3 kB / 0.5717 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/0.7487, allocations: 258.4 kB / 0.572 GB, free: 12.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.7495, allocations: 433.8 kB / 0.5724 GB, free: 12.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.7511, allocations: 0.694 MB / 0.5731 GB, free: 12.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.7511, allocations: 2.375 kB / 0.5731 GB, free: 12.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00192/0.753, allocations: 0.7844 MB / 0.5738 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.753, allocations: 9.031 kB / 0.5738 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.753, allocations: 3.281 kB / 0.5738 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.7533, allocations: 63.58 kB / 0.5739 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7544, allocations: 172.6 kB / 0.5741 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008585/0.7553, allocations: 1.081 MB / 0.5751 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/0.7561, allocations: 44.33 kB / 0.5752 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.521e-05/0.7562, allocations: 38.34 kB / 0.5752 GB, free: 11.04 MB / 462.1 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.0003068/0.7565, allocations: 172.9 kB / 0.5754 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.7567, allocations: 25.98 kB / 0.5754 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.7588, allocations: 0.7951 MB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.7588, allocations: 4.969 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7588, allocations: 7.25 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.7588, allocations: 1.734 kB / 0.5762 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.7621, allocations: 1.401 MB / 0.5775 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.7621, allocations: 7.656 kB / 0.5776 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.7632, allocations: 142.7 kB / 0.5777 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001549/0.7634, allocations: 46.36 kB / 0.5777 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.7634, allocations: 26.06 kB / 0.5778 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.7655, allocations: 2.477 MB / 0.5802 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.7655, allocations: 9.156 kB / 0.5802 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.7681, allocations: 1.074 MB / 0.5812 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.7682, allocations: 26.12 kB / 0.5813 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.409e-05/0.7683, allocations: 15.59 kB / 0.5813 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/0.7692, allocations: 39.77 kB / 0.5813 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.7693, allocations: 47.03 kB / 0.5814 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.014e-05/0.7694, allocations: 33.8 kB / 0.5814 GB, free: 7.523 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.7695, allocations: 129.3 kB / 0.5815 GB, free: 7.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7695, allocations: 0 / 0.5815 GB, free: 7.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001598/0.7711, allocations: 391.4 kB / 0.5819 GB, free: 7.398 MB / 462.1 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.002653/0.7737, allocations: 0.8672 MB / 0.5827 GB, free: 7.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.7757, allocations: 0.6406 MB / 0.5834 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.7757, allocations: 0 / 0.5834 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.7769, allocations: 0.5243 MB / 0.5839 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009118/0.7778, allocations: 104.9 kB / 0.584 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.7801, allocations: 1.042 MB / 0.585 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.7803, allocations: 175.4 kB / 0.5852 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.7807, allocations: 74.45 kB / 0.5852 GB, free: 6.238 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7807, allocations: 0 / 0.5852 GB, free: 6.238 MB / 462.1 MB Notification: Performance of Templates: time 0.02381/0.8045, allocations: 14.98 MB / 0.5999 GB, free: 14.91 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/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: 10.771605057641864]