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.0009721/0.0009721, allocations: 79.75 kB / 22.45 MB, free: 2.09 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.001071/0.001071, allocations: 170.9 kB / 25.75 MB, free: 8.5 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 0.8489/0.8489, allocations: 158.6 MB / 187.5 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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.683e-06/1.683e-06, allocations: 0 / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.609e-05, allocations: 2.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2294/0.2295, allocations: 147 MB / 398.1 MB, free: 9.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2316, allocations: 3.082 MB / 401.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.2317, allocations: 2.875 kB / 401.2 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.2321, allocations: 98.11 kB / 401.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.2339, allocations: 1.241 MB / 402.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006036/0.2345, allocations: 405.4 kB / 402.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.2349, allocations: 467 kB / 403.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.235, allocations: 7.719 kB / 403.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.2353, allocations: 289.1 kB / 403.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2354, allocations: 128.4 kB / 403.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.2355, allocations: 16.88 kB / 403.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2375, allocations: 1.857 MB / 405.7 MB, free: 7.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.2376, allocations: 141.3 kB / 405.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2377, allocations: 131.4 kB / 405.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2392, allocations: 1.531 MB / 407.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2392, allocations: 0 / 407.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.2392, allocations: 0 / 407.4 MB, free: 7.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2392, allocations: 4 kB / 407.5 MB, free: 7.273 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.001183/0.2404, allocations: 0.7815 MB / 408.2 MB, free: 6.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2404, allocations: 15.86 kB / 408.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.241, allocations: 156.8 kB / 408.4 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.2412, allocations: 228.6 kB / 408.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2412, allocations: 19.66 kB / 408.6 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.2413, allocations: 36.47 kB / 408.7 MB, free: 6.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.2418, allocations: 0.7036 MB / 409.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.2418, allocations: 10.69 kB / 409.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.2418, allocations: 10.22 kB / 409.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.2419, allocations: 21 kB / 409.4 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.2422, allocations: 276.6 kB / 409.7 MB, free: 5.832 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.001364/0.2436, allocations: 1.109 MB / 410.8 MB, free: 5.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.2439, allocations: 294.6 kB / 411.1 MB, free: 5.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.244, allocations: 116.2 kB / 411.2 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009513/0.2449, allocations: 498.4 kB / 411.7 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.245, allocations: 46.62 kB / 411.7 MB, free: 4.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.664e-06/0.245, allocations: 0 / 411.7 MB, free: 4.887 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.006051/0.251, allocations: 2.637 MB / 414.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.251, allocations: 90.84 kB / 414.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.2511, allocations: 244.8 kB / 414.7 MB, free: 3.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.2512, allocations: 35.33 kB / 414.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.2512, allocations: 230.6 kB / 415 MB, free: 3.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.2513, allocations: 180.5 kB / 415.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2514, allocations: 128.5 kB / 415.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.2515, allocations: 0.5103 MB / 415.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.2517, allocations: 173.4 kB / 415.9 MB, free: 2.465 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.252, allocations: 407.8 kB / 416.3 MB, free: 2.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.2524, allocations: 0.5854 MB / 416.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2525, allocations: 6.797 kB / 416.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007246/0.2532, allocations: 0.6367 MB / 417.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2532, allocations: 8.188 kB / 417.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2532, allocations: 5.656 kB / 417.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.2533, allocations: 61.12 kB / 417.6 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.2538, allocations: 169.5 kB / 417.8 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003242/0.2542, allocations: 1.611 MB / 419.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.2545, allocations: 27.86 kB / 419.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.2545, allocations: 36.55 kB / 419.5 MB, free: 15.98 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.0001543/0.2547, allocations: 196.5 kB / 419.7 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.2548, allocations: 49.62 kB / 419.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000855/0.2556, allocations: 0.6426 MB / 420.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2556, allocations: 2.938 kB / 420.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2556, allocations: 3.125 kB / 420.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2556, allocations: 3.984 kB / 420.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2571, allocations: 1.362 MB / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2571, allocations: 4.219 kB / 421.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.2575, allocations: 133.3 kB / 421.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.413e-05/0.2576, allocations: 47.72 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.2577, allocations: 29.5 kB / 421.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2589, allocations: 3.443 MB / 425.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2589, allocations: 6.844 kB / 425.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.2599, allocations: 1.031 MB / 426.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.2599, allocations: 27.81 kB / 426.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.26, allocations: 12.78 kB / 426.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2603, allocations: 28.98 kB / 426.5 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.2604, allocations: 48.36 kB / 426.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.2604, allocations: 33.66 kB / 426.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.2605, allocations: 161.7 kB / 426.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2605, allocations: 0 / 426.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009614/0.2614, allocations: 390.8 kB / 427.1 MB, free: 10.37 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.001528/0.263, allocations: 0.8833 MB / 428 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007051/0.2637, allocations: 0.5303 MB / 428.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2637, allocations: 0 / 428.5 MB, free: 9.836 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000457/0.2641, allocations: 0.597 MB / 429.1 MB, free: 9.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.2646, allocations: 131.3 kB / 429.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.2659, allocations: 0.8053 MB / 430.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.353e-05/0.266, allocations: 113.4 kB / 430.2 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005117/0.2665, allocations: 175.1 kB / 430.3 MB, free: 8.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.2667, allocations: 67.89 kB / 430.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2667, allocations: 0 / 430.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of Templates: time 0.01659/0.2833, allocations: 16.51 MB / 446.9 MB, free: 7.719 MB / 362.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3310749530792236]