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.001333/0.001333, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001697/0.001697, allocations: 168.6 kB / 25.69 MB, free: 8.453 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.8566/0.8566, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.402e-06/1.402e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.411e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2497/0.2498, allocations: 146.6 MB / 398.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.252, allocations: 3.092 MB / 401.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.2521, allocations: 0 / 401.2 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.2524, allocations: 99.7 kB / 401.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.2544, allocations: 1.252 MB / 402.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.255, allocations: 401.7 kB / 403 MB, free: 8.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.2554, allocations: 463.7 kB / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.2555, allocations: 12.12 kB / 403.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.2558, allocations: 293.5 kB / 403.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.256, allocations: 129.8 kB / 403.9 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.256, allocations: 16.47 kB / 403.9 MB, free: 7.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.2582, allocations: 1.832 MB / 405.7 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.254e-05/0.2583, allocations: 152.4 kB / 405.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.2584, allocations: 124 kB / 406 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.2598, allocations: 1.545 MB / 407.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2598, allocations: 0 / 407.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2598, allocations: 0 / 407.5 MB, free: 6.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2598, allocations: 6.875 kB / 407.5 MB, free: 6.5 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.00103/0.2609, allocations: 0.6488 MB / 408.2 MB, free: 6.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.797e-05/0.2609, allocations: 12.14 kB / 408.2 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004222/0.2613, allocations: 157.1 kB / 408.3 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.2615, allocations: 188.9 kB / 408.5 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2615, allocations: 27.89 kB / 408.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.2616, allocations: 37.53 kB / 408.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.262, allocations: 0.652 MB / 409.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.262, allocations: 0 / 409.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.262, allocations: 15.5 kB / 409.3 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.262, allocations: 20.73 kB / 409.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.2623, allocations: 199.2 kB / 409.5 MB, free: 5.215 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.001149/0.2634, allocations: 0.873 MB / 410.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2636, allocations: 215.4 kB / 410.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.2637, allocations: 88.2 kB / 410.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/0.2645, allocations: 492.7 kB / 411.1 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.2646, allocations: 36.28 kB / 411.2 MB, free: 4.527 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.2646, allocations: 0 / 411.2 MB, free: 4.527 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.005102/0.2697, allocations: 2.397 MB / 413.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/0.2697, allocations: 86.5 kB / 413.6 MB, free: 3.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.2697, allocations: 175.2 kB / 413.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.2698, allocations: 39.52 kB / 413.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.2698, allocations: 182 kB / 414 MB, free: 2.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.2699, allocations: 178.3 kB / 414.2 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.27, allocations: 119 kB / 414.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.318e-05/0.27, allocations: 343 kB / 414.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.2702, allocations: 105.4 kB / 414.8 MB, free: 2.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2703, allocations: 278 kB / 415 MB, free: 2.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.2706, allocations: 442.7 kB / 415.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2706, allocations: 0 / 415.5 MB, free: 1.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000447/0.2711, allocations: 461.1 kB / 415.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2711, allocations: 11.94 kB / 415.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2711, allocations: 5.469 kB / 415.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.2712, allocations: 47.66 kB / 416 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.2717, allocations: 164.4 kB / 416.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2824, allocations: 4.092 MB / 420.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.2828, allocations: 36.06 kB / 420.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.2828, allocations: 29.55 kB / 420.3 MB, free: 14.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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.283, allocations: 155.9 kB / 420.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.2831, allocations: 37.34 kB / 420.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.2837, allocations: 474.1 kB / 420.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2837, allocations: 5.656 kB / 420.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2837, allocations: 2.938 kB / 420.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2837, allocations: 3.984 kB / 420.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2847, allocations: 0.831 MB / 421.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2847, allocations: 2.281 kB / 421.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.2851, allocations: 136 kB / 421.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.513e-05/0.2852, allocations: 38.2 kB / 422 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.2852, allocations: 22.08 kB / 422 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008631/0.2861, allocations: 2.302 MB / 424.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.2861, allocations: 6.625 kB / 424.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006885/0.2868, allocations: 0.7318 MB / 425 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.2868, allocations: 32.77 kB / 425 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.2868, allocations: 14.61 kB / 425.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.2871, allocations: 30.48 kB / 425.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.2872, allocations: 43.48 kB / 425.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.2872, allocations: 23.22 kB / 425.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.076e-05/0.2872, allocations: 39.75 kB / 425.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2872, allocations: 0 / 425.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00103/0.2883, allocations: 394.7 kB / 425.6 MB, free: 10.14 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.00146/0.2897, allocations: 0.8585 MB / 426.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.2904, allocations: 0.6111 MB / 427.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.2904, allocations: 0 / 427.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.2907, allocations: 439.2 kB / 427.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.2911, allocations: 127.3 kB / 427.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2921, allocations: 0.7238 MB / 428.3 MB, free: 7.438 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.482e-05/0.2922, allocations: 114.3 kB / 428.4 MB, free: 7.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004572/0.2927, allocations: 155.2 kB / 428.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.2933, allocations: 173.9 kB / 428.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2933, allocations: 0 / 428.8 MB, free: 6.996 MB / 346.7 MB Notification: Performance of Templates: time 0.02067/0.314, allocations: 20.06 MB / 448.8 MB, free: 3.012 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.539681870955974]