Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 43.92 kB / 371.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.449/0.713, allocations: 153 MB / 0.5634 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.717, allocations: 4.06 MB / 0.5674 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.7172, allocations: 0 / 0.5674 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.7177, allocations: 110.6 kB / 0.5675 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003148/0.7208, allocations: 1.25 MB / 0.5687 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.7218, allocations: 395.8 kB / 0.5691 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.7225, allocations: 465.7 kB / 0.5695 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.7225, allocations: 7.156 kB / 0.5695 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.7229, allocations: 233.3 kB / 0.5697 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.7231, allocations: 154.8 kB / 0.5699 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.7232, allocations: 15.75 kB / 0.5699 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.7275, allocations: 2.259 MB / 0.5721 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.7277, allocations: 140 kB / 0.5722 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.728, allocations: 169.7 kB / 0.5724 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003449/0.7314, allocations: 1.548 MB / 0.5739 GB, free: 12.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.7314, allocations: 6.062 kB / 0.5739 GB, free: 12.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7315, allocations: 0 / 0.5739 GB, free: 12.48 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.7315, allocations: 0 / 0.5739 GB, free: 12.48 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.002748/0.7342, allocations: 0.7064 MB / 0.5746 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7343, allocations: 10 kB / 0.5746 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.7351, allocations: 109 kB / 0.5747 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.7356, allocations: 219.3 kB / 0.5749 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.7357, allocations: 24.91 kB / 0.5749 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.008e-05/0.7358, allocations: 28.11 kB / 0.575 GB, free: 11.92 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.7368, allocations: 0.5967 MB / 0.5756 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7369, allocations: 0 / 0.5756 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.7369, allocations: 18.38 kB / 0.5756 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.737, allocations: 24.66 kB / 0.5756 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7381, allocations: 0.643 MB / 0.5762 GB, free: 11.84 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.003049/0.7412, allocations: 1.242 MB / 0.5774 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009292/0.7421, allocations: 345 kB / 0.5778 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.7426, allocations: 170.6 kB / 0.5779 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/0.7447, allocations: 0.4886 MB / 0.5784 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.7448, allocations: 45.31 kB / 0.5784 GB, free: 10.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.7448, allocations: 0 / 0.5784 GB, free: 10.89 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.01541/0.7602, allocations: 3.183 MB / 0.5816 GB, free: 9.531 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.7602, allocations: 82.02 kB / 0.5816 GB, free: 9.438 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.7604, allocations: 184.7 kB / 0.5818 GB, free: 9.312 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.7605, allocations: 36.52 kB / 0.5818 GB, free: 9.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.7607, allocations: 175.3 kB / 0.582 GB, free: 9.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.7608, allocations: 195.4 kB / 0.5822 GB, free: 8.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.7611, allocations: 116.3 kB / 0.5823 GB, free: 8.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7612, allocations: 335 kB / 0.5826 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.762, allocations: 263.3 kB / 0.5829 GB, free: 8.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.7628, allocations: 429.8 kB / 0.5833 GB, free: 8.328 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.7644, allocations: 0.6971 MB / 0.584 GB, free: 8.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.7644, allocations: 6.109 kB / 0.584 GB, free: 8.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001999/0.7664, allocations: 0.7778 MB / 0.5847 GB, free: 7.852 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7664, allocations: 7.656 kB / 0.5847 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.7664, allocations: 5.344 kB / 0.5848 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.7667, allocations: 56.28 kB / 0.5848 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.7679, allocations: 184.8 kB / 0.585 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008138/0.7687, allocations: 1.076 MB / 0.586 GB, free: 6.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.7695, allocations: 44.61 kB / 0.5861 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.7696, allocations: 44.7 kB / 0.5861 GB, free: 6.695 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.0003031/0.7699, allocations: 172.4 kB / 0.5863 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.7701, allocations: 30.11 kB / 0.5863 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.7722, allocations: 0.787 MB / 0.5871 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.7722, allocations: 4.625 kB / 0.5871 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7722, allocations: 3.031 kB / 0.5871 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7722, allocations: 3.984 kB / 0.5871 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.7755, allocations: 1.532 MB / 0.5886 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.7755, allocations: 7.016 kB / 0.5886 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.7766, allocations: 146.4 kB / 0.5887 GB, free: 5.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.7768, allocations: 46.56 kB / 0.5888 GB, free: 5.363 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/0.7769, allocations: 25.06 kB / 0.5888 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.7788, allocations: 2.524 MB / 0.5913 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7788, allocations: 2.75 kB / 0.5913 GB, free: 2.852 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002572/0.7814, allocations: 1.07 MB / 0.5923 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.502e-05/0.7815, allocations: 33.44 kB / 0.5923 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.7816, allocations: 12.91 kB / 0.5924 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.7824, allocations: 43.55 kB / 0.5924 GB, free: 2.352 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.7825, allocations: 50.42 kB / 0.5924 GB, free: 2.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.7825, allocations: 37.97 kB / 0.5925 GB, free: 2.312 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.7827, allocations: 123.3 kB / 0.5926 GB, free: 2.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7827, allocations: 0 / 0.5926 GB, free: 2.227 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001521/0.7842, allocations: 391.7 kB / 0.593 GB, free: 2.168 MB / 462.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.002307/0.7865, allocations: 0.8615 MB / 0.5938 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.7884, allocations: 0.6274 MB / 0.5944 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7884, allocations: 1.094 kB / 0.5944 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.7895, allocations: 0.531 MB / 0.5949 GB, free: 1.324 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.7903, allocations: 100.5 kB / 0.595 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.7925, allocations: 1.048 MB / 0.5961 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.7929, allocations: 0.7897 MB / 0.5968 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/0.7934, allocations: 73.27 kB / 0.5969 GB, free: 15.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.202e-06/0.7934, allocations: 10.81 kB / 0.5969 GB, free: 15.85 MB / 478.1 MB Notification: Performance of Templates: time 0.02231/0.8157, allocations: 14.65 MB / 0.6112 GB, free: 3.191 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.007938290946186]