Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2635/0.2635, allocations: 46.9 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 83.86 kB / 0.4923 GB, free: 8.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1195, allocations: 65.99 MB / 0.5568 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4346/0.5541, allocations: 152.9 MB / 0.7061 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.5564, allocations: 1.602 MB / 0.7077 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.5565, allocations: 0 / 0.7077 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.5568, allocations: 51.72 kB / 0.7077 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.558, allocations: 417.7 kB / 0.7081 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.5586, allocations: 172.4 kB / 0.7083 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.5589, allocations: 183.2 kB / 0.7084 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.5589, allocations: 0 / 0.7084 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.5591, allocations: 79.75 kB / 0.7085 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.5593, allocations: 67.67 kB / 0.7086 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.5593, allocations: 8 kB / 0.7086 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.5606, allocations: 0.6236 MB / 0.7092 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.5607, allocations: 27.95 kB / 0.7092 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.5608, allocations: 51.78 kB / 0.7093 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008652/0.5616, allocations: 406.9 kB / 0.7097 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5616, allocations: 0 / 0.7097 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5616, allocations: 0 / 0.7097 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5617, allocations: 0 / 0.7097 GB, free: 5.371 MB / 0.5137 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.0007193/0.5624, allocations: 438.8 kB / 0.7101 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5624, allocations: 12.03 kB / 0.7101 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.5647, allocations: 201.1 kB / 0.7103 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.565, allocations: 204.2 kB / 0.7105 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.5651, allocations: 11.94 kB / 0.7105 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.5651, allocations: 8 kB / 0.7105 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.5656, allocations: 197.5 kB / 0.7107 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5656, allocations: 0 / 0.7107 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.5657, allocations: 8.844 kB / 0.7107 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5657, allocations: 0 / 0.7107 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.5663, allocations: 239.8 kB / 0.7109 GB, free: 3.988 MB / 0.5137 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.001883/0.5682, allocations: 0.6644 MB / 0.7116 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.5687, allocations: 190.5 kB / 0.7118 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.5689, allocations: 92.75 kB / 0.7118 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.5691, allocations: 92.56 kB / 0.7119 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.5691, allocations: 38.5 kB / 0.712 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.5691, allocations: 3.938 kB / 0.712 GB, free: 2.828 MB / 0.5137 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.006059/0.5752, allocations: 1.545 MB / 0.7135 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.5752, allocations: 51.41 kB / 0.7135 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.5753, allocations: 109.8 kB / 0.7136 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5753, allocations: 29.7 kB / 0.7137 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.5754, allocations: 100.4 kB / 0.7138 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.5755, allocations: 67.38 kB / 0.7138 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5756, allocations: 45.69 kB / 0.7139 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5757, allocations: 314.8 kB / 0.7142 GB, free: 432 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.576, allocations: 95.94 kB / 0.7143 GB, free: 336 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.5762, allocations: 123.4 kB / 0.7144 GB, free: 200 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.5768, allocations: 230.4 kB / 0.7146 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5768, allocations: 0 / 0.7146 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006791/0.5774, allocations: 286.2 kB / 0.7149 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5775, allocations: 9.875 kB / 0.7149 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5775, allocations: 0 / 0.7149 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.5776, allocations: 24.94 kB / 0.7149 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.5781, allocations: 55.95 kB / 0.715 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000443/0.5785, allocations: 0.5367 MB / 0.7155 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.5788, allocations: 4 kB / 0.7155 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.5789, allocations: 19.92 kB / 0.7155 GB, free: 15 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.0001551/0.579, allocations: 125.9 kB / 0.7156 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.5791, allocations: 7.953 kB / 0.7156 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.5799, allocations: 317.2 kB / 0.7159 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5799, allocations: 3.938 kB / 0.7159 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5799, allocations: 7.625 kB / 0.7159 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5799, allocations: 0 / 0.7159 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.5812, allocations: 0.6757 MB / 0.7166 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5812, allocations: 0 / 0.7166 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.5817, allocations: 51.89 kB / 0.7167 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.568e-05/0.5817, allocations: 24.84 kB / 0.7167 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.5818, allocations: 7.984 kB / 0.7167 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.5829, allocations: 1.372 MB / 0.718 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5829, allocations: 0 / 0.718 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/0.5839, allocations: 458.8 kB / 0.7185 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.584, allocations: 85.06 kB / 0.7185 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.584, allocations: 4.062 kB / 0.7185 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.5843, allocations: 11.98 kB / 0.7186 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5844, allocations: 15.98 kB / 0.7186 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.5844, allocations: 11.98 kB / 0.7186 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.5845, allocations: 91.27 kB / 0.7187 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5845, allocations: 0 / 0.7187 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006269/0.5851, allocations: 131.7 kB / 0.7188 GB, free: 11.34 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.0008215/0.5859, allocations: 257.4 kB / 0.719 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007373/0.5867, allocations: 238.2 kB / 0.7193 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5867, allocations: 0 / 0.7193 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.5871, allocations: 228.5 kB / 0.7195 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.5876, allocations: 56.69 kB / 0.7195 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.5886, allocations: 0.51 MB / 0.72 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.589, allocations: 0.7085 MB / 0.7207 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5891, allocations: 23.42 kB / 0.7208 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.5891, allocations: 0 / 0.7208 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of Templates: time 0.009611/0.5987, allocations: 5.192 MB / 0.7258 GB, free: 4.066 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.95934166898951]