Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007445/0.0007445, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001818, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007087/0.0007087, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001653, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8983/0.8983, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07783/0.9761, allocations: 53.65 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.291e-05, allocations: 5.969 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.247/0.247, allocations: 148.3 MB / 393 MB, free: 4.785 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.2504, allocations: 4.076 MB / 397.1 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2505, allocations: 0 / 397.1 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.2508, allocations: 107.4 kB / 397.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001924/0.2527, allocations: 1.182 MB / 398.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.2535, allocations: 401 kB / 398.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.2541, allocations: 474.7 kB / 399.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2541, allocations: 15.08 kB / 399.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004256/0.2545, allocations: 314.9 kB / 399.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2547, allocations: 131.6 kB / 399.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.2547, allocations: 16 kB / 399.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.2575, allocations: 1.88 MB / 401.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.2576, allocations: 123.8 kB / 401.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.2577, allocations: 101.5 kB / 401.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.2594, allocations: 1.309 MB / 403.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.2594, allocations: 0 / 403.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2594, allocations: 0 / 403.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2594, allocations: 4 kB / 403.1 MB, free: 10.68 MB / 378.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.0013/0.2607, allocations: 0.8832 MB / 404 MB, free: 9.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002201/0.261, allocations: 12.03 kB / 404 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.2614, allocations: 152.5 kB / 404.2 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2617, allocations: 205.5 kB / 404.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.2617, allocations: 25.84 kB / 404.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.2618, allocations: 28 kB / 404.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.2622, allocations: 0.6518 MB / 405.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.2622, allocations: 3.984 kB / 405.1 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2623, allocations: 12 kB / 405.1 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.2623, allocations: 16.5 kB / 405.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.2625, allocations: 205 kB / 405.3 MB, free: 8.34 MB / 378.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.001257/0.2638, allocations: 0.8724 MB / 406.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.264, allocations: 209 kB / 406.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.2641, allocations: 78.39 kB / 406.4 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000881/0.265, allocations: 488.5 kB / 406.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.265, allocations: 42.56 kB / 407 MB, free: 6.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.265, allocations: 0 / 407 MB, free: 6.609 MB / 378.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.006832/0.2719, allocations: 2.85 MB / 409.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.2719, allocations: 85.11 kB / 409.9 MB, free: 3.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.272, allocations: 183.1 kB / 410.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.2721, allocations: 37.7 kB / 410.1 MB, free: 3.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.2721, allocations: 172.6 kB / 410.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2722, allocations: 186.4 kB / 410.5 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.2724, allocations: 114.2 kB / 410.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.2724, allocations: 338.7 kB / 410.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.2726, allocations: 113.3 kB / 411 MB, free: 2.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.273, allocations: 277.6 kB / 411.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.2733, allocations: 455.4 kB / 411.7 MB, free: 1.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2734, allocations: 4 kB / 411.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000491/0.2738, allocations: 462.7 kB / 412.2 MB, free: 1.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2739, allocations: 8.625 kB / 412.2 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2739, allocations: 8 kB / 412.2 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.274, allocations: 45.69 kB / 412.2 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/0.2746, allocations: 215.6 kB / 412.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.2758, allocations: 2.478 MB / 414.9 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.2761, allocations: 31.97 kB / 415 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.2762, allocations: 27.98 kB / 415 MB, free: 14.07 MB / 394.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.0001484/0.2763, allocations: 144.5 kB / 415.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.2764, allocations: 36.03 kB / 415.2 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.277, allocations: 491.4 kB / 415.6 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.277, allocations: 4 kB / 415.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.277, allocations: 0 / 415.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.277, allocations: 4 kB / 415.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009799/0.2779, allocations: 0.827 MB / 416.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2779, allocations: 3.984 kB / 416.5 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.2785, allocations: 175.7 kB / 416.7 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.2785, allocations: 23.8 kB / 416.7 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.2786, allocations: 49.89 kB / 416.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.2786, allocations: 27.97 kB / 416.8 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.2797, allocations: 2.305 MB / 419.1 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2797, allocations: 7.875 kB / 419.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.2803, allocations: 0.7351 MB / 419.8 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.394e-05/0.2804, allocations: 15.94 kB / 419.8 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.2806, allocations: 23.98 kB / 419.8 MB, free: 8.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.2807, allocations: 43.86 kB / 419.9 MB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.86e-05/0.2807, allocations: 27.97 kB / 419.9 MB, free: 8.844 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.2807, allocations: 37.05 kB / 420 MB, free: 8.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2807, allocations: 4 kB / 420 MB, free: 8.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009128/0.2817, allocations: 387.2 kB / 420.3 MB, free: 8.422 MB / 394.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.001316/0.283, allocations: 0.7625 MB / 421.1 MB, free: 7.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.2836, allocations: 0.6292 MB / 421.7 MB, free: 6.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.2836, allocations: 4 kB / 421.7 MB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.2839, allocations: 466.8 kB / 422.2 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.2844, allocations: 208.4 kB / 422.4 MB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.2873, allocations: 0.7103 MB / 423.1 MB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.2874, allocations: 114.2 kB / 423.2 MB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004574/0.2878, allocations: 155.1 kB / 423.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/0.2882, allocations: 177.2 kB / 423.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2882, allocations: 0 / 423.5 MB, free: 5.082 MB / 394.7 MB Notification: Performance of Templates: time 0.1398/0.428, allocations: 19.15 MB / 442.7 MB, free: 32.16 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3108083801344037]