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.001909/0.001909, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002456/0.002456, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.445/1.445, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.002076/0.002076, allocations: 63.91 kB / 379 MB, free: 2.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2624, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4434/0.7058, allocations: 155.9 MB / 0.5746 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003914/0.7097, allocations: 4.062 MB / 0.5785 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.7099, allocations: 0 / 0.5785 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.7103, allocations: 114.7 kB / 0.5786 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.7132, allocations: 1.241 MB / 0.5798 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.7143, allocations: 400.4 kB / 0.5802 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.7149, allocations: 467.7 kB / 0.5807 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.715, allocations: 6.75 kB / 0.5807 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.7154, allocations: 257 kB / 0.5809 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.7156, allocations: 148.6 kB / 0.5811 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.7156, allocations: 17.94 kB / 0.5811 GB, free: 12.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/0.7197, allocations: 2.263 MB / 0.5833 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.7199, allocations: 143.6 kB / 0.5834 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.7201, allocations: 162.7 kB / 0.5836 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.7232, allocations: 1.558 MB / 0.5851 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7232, allocations: 0 / 0.5851 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7232, allocations: 0 / 0.5851 GB, free: 11.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.7232, allocations: 3.938 kB / 0.5851 GB, free: 11.33 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.002307/0.7255, allocations: 0.7099 MB / 0.5858 GB, free: 10.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7255, allocations: 10.19 kB / 0.5858 GB, free: 10.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.7263, allocations: 109.7 kB / 0.5859 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.7268, allocations: 221.7 kB / 0.5861 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.7268, allocations: 17.25 kB / 0.5861 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.7269, allocations: 33.53 kB / 0.5862 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7279, allocations: 0.5968 MB / 0.5868 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.728, allocations: 3.562 kB / 0.5868 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.728, allocations: 12.06 kB / 0.5868 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.7281, allocations: 27.03 kB / 0.5868 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.7292, allocations: 0.6465 MB / 0.5874 GB, free: 10.3 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.003036/0.7323, allocations: 1.251 MB / 0.5887 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.7331, allocations: 338.7 kB / 0.589 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.7336, allocations: 176.8 kB / 0.5891 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002036/0.7356, allocations: 483.6 kB / 0.5896 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.7357, allocations: 41.72 kB / 0.5896 GB, free: 9.344 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.966e-06/0.7357, allocations: 0 / 0.5896 GB, free: 9.344 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.01513/0.7508, allocations: 3.194 MB / 0.5928 GB, free: 7.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.7509, allocations: 81.48 kB / 0.5928 GB, free: 7.887 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.7511, allocations: 186.3 kB / 0.593 GB, free: 7.758 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.7512, allocations: 34.92 kB / 0.5931 GB, free: 7.727 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.7514, allocations: 190.6 kB / 0.5932 GB, free: 7.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.7515, allocations: 183.7 kB / 0.5934 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.7518, allocations: 121.2 kB / 0.5935 GB, free: 7.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.752, allocations: 340.1 kB / 0.5939 GB, free: 7.059 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.7527, allocations: 264.3 kB / 0.5941 GB, free: 7.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008299/0.7535, allocations: 424.5 kB / 0.5945 GB, free: 6.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.7551, allocations: 0.6961 MB / 0.5952 GB, free: 6.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7551, allocations: 0 / 0.5952 GB, free: 6.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001948/0.757, allocations: 0.7863 MB / 0.596 GB, free: 6.109 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.757, allocations: 6.203 kB / 0.596 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.757, allocations: 11.56 kB / 0.596 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.7573, allocations: 53.81 kB / 0.596 GB, free: 6.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.7584, allocations: 182.2 kB / 0.5962 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008062/0.7593, allocations: 1.075 MB / 0.5972 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.76, allocations: 44.61 kB / 0.5973 GB, free: 4.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.7601, allocations: 39.77 kB / 0.5973 GB, free: 4.91 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.0002901/0.7604, allocations: 183.3 kB / 0.5975 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7605, allocations: 28.34 kB / 0.5975 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.7627, allocations: 0.7798 MB / 0.5983 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.7627, allocations: 5.375 kB / 0.5983 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.7627, allocations: 3.656 kB / 0.5983 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.7627, allocations: 7.984 kB / 0.5983 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.7661, allocations: 1.52 MB / 0.5998 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7661, allocations: 2.625 kB / 0.5998 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7672, allocations: 146.7 kB / 0.5999 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/0.7674, allocations: 46.69 kB / 0.6 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.7674, allocations: 26.66 kB / 0.6 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/0.7696, allocations: 2.53 MB / 0.6025 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.7696, allocations: 0 / 0.6025 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.7723, allocations: 1.074 MB / 0.6035 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.7724, allocations: 22.05 kB / 0.6035 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.7725, allocations: 13.62 kB / 0.6036 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.7734, allocations: 39.91 kB / 0.6036 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/0.7734, allocations: 55.25 kB / 0.6036 GB, free: 15.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.7735, allocations: 39 kB / 0.6037 GB, free: 15.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.7736, allocations: 125.7 kB / 0.6038 GB, free: 15.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7736, allocations: 4 kB / 0.6038 GB, free: 15.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001433/0.7751, allocations: 394.5 kB / 0.6042 GB, free: 15.43 MB / 478.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.002728/0.7778, allocations: 0.8629 MB / 0.605 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.7798, allocations: 0.6364 MB / 0.6056 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.7798, allocations: 2.531 kB / 0.6057 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.7809, allocations: 0.5181 MB / 0.6062 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/0.7818, allocations: 104 kB / 0.6063 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.7841, allocations: 1.057 MB / 0.6073 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.7846, allocations: 0.7774 MB / 0.608 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005126/0.7851, allocations: 79.36 kB / 0.6081 GB, free: 12.32 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7851, allocations: 0 / 0.6081 GB, free: 12.32 MB / 478.1 MB Notification: Performance of Templates: time 0.02485/0.81, allocations: 14.82 MB / 0.6226 GB, free: 13.49 MB / 494.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: 11.028365526814014]