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.0009206/0.0009206, 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.0008992/0.0008992, allocations: 167.1 kB / 25.7 MB, free: 8.445 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.9307/0.9307, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.433e-06/1.433e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.673e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.2592/0.2592, allocations: 146.7 MB / 398.2 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.2612, allocations: 3.084 MB / 401.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.2613, allocations: 6.156 kB / 401.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.2616, allocations: 95.16 kB / 401.4 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.263, allocations: 1.215 MB / 402.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.2635, allocations: 394.9 kB / 403 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.2638, allocations: 473.4 kB / 403.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.2638, allocations: 12.34 kB / 403.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.2641, allocations: 286.4 kB / 403.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.2642, allocations: 125.6 kB / 403.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2642, allocations: 13.44 kB / 403.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.2661, allocations: 1.886 MB / 405.8 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.226e-05/0.2662, allocations: 147.3 kB / 405.9 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.976e-05/0.2663, allocations: 131.9 kB / 406.1 MB, free: 7.016 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.2674, allocations: 1.544 MB / 407.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2674, allocations: 0 / 407.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2674, allocations: 2.656 kB / 407.6 MB, free: 6.465 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2674, allocations: 0 / 407.6 MB, free: 6.465 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.0009311/0.2684, allocations: 0.6418 MB / 408.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.2684, allocations: 15.02 kB / 408.3 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.2688, allocations: 157.8 kB / 408.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.269, allocations: 199.7 kB / 408.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.269, allocations: 23.09 kB / 408.6 MB, free: 5.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.2691, allocations: 32.5 kB / 408.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.2695, allocations: 0.656 MB / 409.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2695, allocations: 2.375 kB / 409.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.2695, allocations: 13.19 kB / 409.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.2695, allocations: 20.89 kB / 409.4 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2697, allocations: 200.5 kB / 409.6 MB, free: 5.18 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.001217/0.271, allocations: 0.8756 MB / 410.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2712, allocations: 210.6 kB / 410.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/0.2713, allocations: 81.34 kB / 410.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000793/0.2721, allocations: 497.6 kB / 411.2 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2721, allocations: 32.84 kB / 411.2 MB, free: 4.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 1.463e-06/0.2721, allocations: 0 / 411.2 MB, free: 4.496 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.005157/0.2772, allocations: 2.409 MB / 413.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.2773, allocations: 86.52 kB / 413.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.2773, allocations: 174 kB / 413.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.2774, allocations: 35.52 kB / 413.9 MB, free: 3.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.2774, allocations: 184.8 kB / 414.1 MB, free: 2.887 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.2775, allocations: 180.5 kB / 414.3 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.2776, allocations: 112.7 kB / 414.4 MB, free: 2.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.2776, allocations: 342.3 kB / 414.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2778, allocations: 109.8 kB / 414.8 MB, free: 2.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.2779, allocations: 276.3 kB / 415.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.2783, allocations: 437.7 kB / 415.5 MB, free: 1.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2783, allocations: 2.344 kB / 415.5 MB, free: 1.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004642/0.2787, allocations: 460.4 kB / 416 MB, free: 1.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2787, allocations: 10.31 kB / 416 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2787, allocations: 9.188 kB / 416 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001158/0.2789, allocations: 45.84 kB / 416.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.2794, allocations: 194.8 kB / 416.3 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.2899, allocations: 4.094 MB / 420.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2902, allocations: 28.55 kB / 420.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.2903, allocations: 36.25 kB / 420.4 MB, free: 14.37 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.0001337/0.2904, allocations: 152.3 kB / 420.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.2905, allocations: 36.91 kB / 420.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.291, allocations: 484.2 kB / 421.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.291, allocations: 5.938 kB / 421.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.291, allocations: 2.844 kB / 421.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2911, allocations: 0 / 421.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009486/0.292, allocations: 0.8304 MB / 421.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.292, allocations: 3.25 kB / 421.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/0.2925, allocations: 161 kB / 422.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-05/0.2926, allocations: 38.56 kB / 422.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.2926, allocations: 33.97 kB / 422.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008257/0.2935, allocations: 2.309 MB / 424.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2935, allocations: 2.562 kB / 424.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.2941, allocations: 0.7324 MB / 425.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.2941, allocations: 22.2 kB / 425.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.2942, allocations: 18.25 kB / 425.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.2945, allocations: 30.66 kB / 425.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.2945, allocations: 35.06 kB / 425.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.2946, allocations: 27.41 kB / 425.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.04e-05/0.2946, allocations: 44.89 kB / 425.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 0 / 425.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008543/0.2955, allocations: 398.7 kB / 425.7 MB, free: 10.04 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.001422/0.2969, allocations: 0.8499 MB / 426.6 MB, free: 9.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.2975, allocations: 0.6038 MB / 427.2 MB, free: 8.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.2975, allocations: 4 kB / 427.2 MB, free: 8.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.2978, allocations: 445.8 kB / 427.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2982, allocations: 123.1 kB / 427.8 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2992, allocations: 0.7212 MB / 428.5 MB, free: 7.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.2993, allocations: 121.4 kB / 428.6 MB, free: 7.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004476/0.2997, allocations: 159.2 kB / 428.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.3001, allocations: 172.1 kB / 428.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3001, allocations: 0 / 428.9 MB, free: 6.891 MB / 346.7 MB Notification: Performance of Templates: time 0.01898/0.3191, allocations: 20.1 MB / 449 MB, free: 2.875 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 -s gbode -gbm=radauIIA3 -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.5058116209693253]