Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001725/0.001725, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002219/0.002219, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.95 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 68.03 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3084, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1693/0.4777, allocations: 131.5 MB / 0.6902 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.4797, allocations: 1.433 MB / 0.6916 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.4798, allocations: 0 / 0.6916 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.4801, allocations: 43.73 kB / 0.6917 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.4812, allocations: 418 kB / 0.6921 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.4817, allocations: 186.5 kB / 0.6922 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.482, allocations: 175.3 kB / 0.6924 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.482, allocations: 19.92 kB / 0.6924 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.4822, allocations: 83.61 kB / 0.6925 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.4824, allocations: 63.77 kB / 0.6926 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4824, allocations: 8 kB / 0.6926 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.4834, allocations: 0.5495 MB / 0.6931 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.4835, allocations: 31.84 kB / 0.6931 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.442e-05/0.4836, allocations: 47.84 kB / 0.6932 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.4842, allocations: 401.6 kB / 0.6936 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4842, allocations: 0 / 0.6936 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4842, allocations: 4 kB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.4842, allocations: 0 / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005604/0.4847, allocations: 361.7 kB / 0.6939 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4848, allocations: 12.02 kB / 0.6939 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.487, allocations: 196.6 kB / 0.6941 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4873, allocations: 150 kB / 0.6943 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.4873, allocations: 11.94 kB / 0.6943 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.4874, allocations: 12 kB / 0.6943 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/0.4879, allocations: 281.4 kB / 0.6946 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4879, allocations: 0 / 0.6946 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.4879, allocations: 3.938 kB / 0.6946 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.488, allocations: 7.938 kB / 0.6946 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.4886, allocations: 231.8 kB / 0.6948 GB, free: 11.4 MB / 0.5294 GB 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.001714/0.4903, allocations: 0.5438 MB / 0.6953 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.4907, allocations: 186.5 kB / 0.6955 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.4909, allocations: 88.83 kB / 0.6956 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.4911, allocations: 15.97 kB / 0.6956 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4911, allocations: 38.56 kB / 0.6956 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.4911, allocations: 0 / 0.6956 GB, free: 10.48 MB / 0.5294 GB 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005814/0.4969, allocations: 1.384 MB / 0.697 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.497, allocations: 63.39 kB / 0.697 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4971, allocations: 113.8 kB / 0.6972 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4971, allocations: 29.7 kB / 0.6972 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.4972, allocations: 100.4 kB / 0.6973 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.4973, allocations: 71.36 kB / 0.6973 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.4974, allocations: 41.66 kB / 0.6974 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4975, allocations: 322.8 kB / 0.6977 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.4977, allocations: 91.95 kB / 0.6978 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.498, allocations: 129 kB / 0.6979 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.4985, allocations: 225.2 kB / 0.6981 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4985, allocations: 0 / 0.6981 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006515/0.4991, allocations: 282.3 kB / 0.6984 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4991, allocations: 8 kB / 0.6984 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4991, allocations: 4.094 kB / 0.6984 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.4993, allocations: 24.84 kB / 0.6984 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.4998, allocations: 51.91 kB / 0.6985 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004092/0.5002, allocations: 0.5329 MB / 0.699 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.5004, allocations: 15.95 kB / 0.699 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.5005, allocations: 15.88 kB / 0.699 GB, free: 6.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.5006, allocations: 125.9 kB / 0.6991 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.5007, allocations: 7.953 kB / 0.6992 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.5015, allocations: 313.4 kB / 0.6995 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.5015, allocations: 7.938 kB / 0.6995 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5015, allocations: 4 kB / 0.6995 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5015, allocations: 3.984 kB / 0.6995 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5026, allocations: 0.5817 MB / 0.7 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5026, allocations: 0 / 0.7 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.5031, allocations: 51.95 kB / 0.7001 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-05/0.5032, allocations: 28.81 kB / 0.7001 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.5032, allocations: 8 kB / 0.7001 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009714/0.5042, allocations: 1.237 MB / 0.7013 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5042, allocations: 3.938 kB / 0.7013 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.5051, allocations: 453 kB / 0.7018 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.5051, allocations: 7.953 kB / 0.7018 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.5052, allocations: 7.938 kB / 0.7018 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.5055, allocations: 19.92 kB / 0.7018 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.5055, allocations: 15.97 kB / 0.7018 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.5056, allocations: 11.98 kB / 0.7018 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.444e-05/0.5056, allocations: 87.28 kB / 0.7019 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5056, allocations: 0 / 0.7019 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000548/0.5062, allocations: 135.7 kB / 0.702 GB, free: 3.535 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0006711/0.5068, allocations: 262.8 kB / 0.7023 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.5075, allocations: 239.6 kB / 0.7025 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5075, allocations: 0 / 0.7025 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.5079, allocations: 222.6 kB / 0.7027 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.5083, allocations: 54.31 kB / 0.7028 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009178/0.5092, allocations: 498.2 kB / 0.7033 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.229e-05/0.5093, allocations: 93.97 kB / 0.7033 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5095, allocations: 27.42 kB / 0.7034 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of SimCode: time 3.8e-07/0.5095, allocations: 4 kB / 0.7034 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of Templates: time 0.008623/0.5181, allocations: 5.254 MB / 0.7085 GB, free: 12.83 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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: 8.659362371981842]