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.001987/0.001987, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.002412/0.002412, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001836/0.001836, allocations: 47.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3048, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4586/0.7634, allocations: 134.2 MB / 0.5532 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005337/0.7688, allocations: 3.613 MB / 0.5567 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.769, allocations: 5.062 kB / 0.5567 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005477/0.7695, allocations: 92.48 kB / 0.5568 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004187/0.7737, allocations: 1.221 MB / 0.558 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.7752, allocations: 396.2 kB / 0.5584 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.776, allocations: 464.8 kB / 0.5588 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.7761, allocations: 7.781 kB / 0.5588 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.7766, allocations: 254.7 kB / 0.5591 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.7768, allocations: 148.3 kB / 0.5592 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.083e-05/0.7769, allocations: 14.12 kB / 0.5592 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003621/0.7805, allocations: 1.827 MB / 0.561 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.7807, allocations: 137.4 kB / 0.5612 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.7808, allocations: 149.4 kB / 0.5613 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.7833, allocations: 1.478 MB / 0.5627 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7833, allocations: 0 / 0.5627 GB, free: 15.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7833, allocations: 0 / 0.5627 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.7833, allocations: 0 / 0.5627 GB, free: 15.7 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.002168/0.7854, allocations: 0.704 MB / 0.5634 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7855, allocations: 10.66 kB / 0.5634 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.7862, allocations: 112.6 kB / 0.5635 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.7867, allocations: 220.8 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.7867, allocations: 22.34 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.7868, allocations: 23.19 kB / 0.5638 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.788, allocations: 0.9053 MB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.788, allocations: 0 / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/0.7881, allocations: 16.06 kB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.7881, allocations: 19.66 kB / 0.5647 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.7893, allocations: 0.6479 MB / 0.5654 GB, free: 14.7 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.00272/0.792, allocations: 1.123 MB / 0.5664 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.7929, allocations: 365.2 kB / 0.5668 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.7933, allocations: 164.4 kB / 0.567 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/0.7953, allocations: 485 kB / 0.5674 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.7953, allocations: 46.39 kB / 0.5675 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.7953, allocations: 0 / 0.5675 GB, free: 14.19 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.01467/0.81, allocations: 3.184 MB / 0.5706 GB, free: 13.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.8101, allocations: 86.14 kB / 0.5707 GB, free: 13.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.8102, allocations: 181.7 kB / 0.5708 GB, free: 13.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.8103, allocations: 34.45 kB / 0.5709 GB, free: 13.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8104, allocations: 196.9 kB / 0.571 GB, free: 13.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.8106, allocations: 178.9 kB / 0.5712 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.8108, allocations: 120.4 kB / 0.5713 GB, free: 12.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.8109, allocations: 343.5 kB / 0.5717 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007324/0.8117, allocations: 265.2 kB / 0.5719 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008673/0.8125, allocations: 422.1 kB / 0.5723 GB, free: 12.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.8141, allocations: 0.6927 MB / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8141, allocations: 2.156 kB / 0.573 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001878/0.8159, allocations: 0.7848 MB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.816, allocations: 8.656 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.816, allocations: 8.203 kB / 0.5738 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.8162, allocations: 58.88 kB / 0.5738 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.8173, allocations: 177.8 kB / 0.574 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008234/0.8181, allocations: 1.083 MB / 0.5751 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.8189, allocations: 45.44 kB / 0.5751 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.819, allocations: 35.67 kB / 0.5751 GB, free: 11.05 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.0003006/0.8193, allocations: 177.5 kB / 0.5753 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.8194, allocations: 25.77 kB / 0.5753 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.8215, allocations: 0.7945 MB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8216, allocations: 5.031 kB / 0.5761 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.8216, allocations: 9.375 kB / 0.5761 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8216, allocations: 2.484 kB / 0.5761 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.8248, allocations: 1.398 MB / 0.5775 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.8248, allocations: 2 kB / 0.5775 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.8258, allocations: 148.1 kB / 0.5776 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.826, allocations: 44.97 kB / 0.5777 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.826, allocations: 24.16 kB / 0.5777 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.8282, allocations: 2.477 MB / 0.5801 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.8282, allocations: 10.91 kB / 0.5801 GB, free: 7.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.8308, allocations: 1.072 MB / 0.5812 GB, free: 7.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.8309, allocations: 30.09 kB / 0.5812 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.831, allocations: 13.28 kB / 0.5812 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008559/0.8318, allocations: 40.73 kB / 0.5813 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.8319, allocations: 44.66 kB / 0.5813 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.832, allocations: 36.33 kB / 0.5813 GB, free: 7.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.8321, allocations: 126.3 kB / 0.5815 GB, free: 7.449 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.8321, allocations: 0 / 0.5815 GB, free: 7.449 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001436/0.8336, allocations: 395.2 kB / 0.5818 GB, free: 7.402 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.002634/0.8362, allocations: 0.8664 MB / 0.5827 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.8382, allocations: 0.6387 MB / 0.5833 GB, free: 7.145 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8382, allocations: 0 / 0.5833 GB, free: 7.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.8394, allocations: 0.5263 MB / 0.5838 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/0.8402, allocations: 108.1 kB / 0.5839 GB, free: 6.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.8425, allocations: 1.046 MB / 0.5849 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.8427, allocations: 173.9 kB / 0.5851 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.8431, allocations: 75.33 kB / 0.5852 GB, free: 6.246 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8431, allocations: 0 / 0.5852 GB, free: 6.246 MB / 462.1 MB Notification: Performance of Templates: time 0.02374/0.8668, allocations: 15.01 MB / 0.5998 GB, free: 15.04 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.04055704176426]