Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002049/0.002049, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002175/0.002175, allocations: 219.5 kB / 24.48 MB, free: 3.836 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.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.94 MB / 361.5 MB, free: 3.965 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 75.88 kB / 0.4974 GB, free: 7.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2901, allocations: 66.08 MB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1716/0.4616, allocations: 131.5 MB / 0.6903 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.4639, allocations: 1.433 MB / 0.6917 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.464, allocations: 0 / 0.6917 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.4643, allocations: 47.73 kB / 0.6918 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.4657, allocations: 406 kB / 0.6922 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.4662, allocations: 177.4 kB / 0.6923 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.4665, allocations: 191.2 kB / 0.6925 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.4666, allocations: 7.938 kB / 0.6925 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.4668, allocations: 91.61 kB / 0.6926 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.4669, allocations: 55.81 kB / 0.6927 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.467, allocations: 4 kB / 0.6927 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.4682, allocations: 0.5416 MB / 0.6932 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.4682, allocations: 31.89 kB / 0.6932 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.4683, allocations: 43.86 kB / 0.6933 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.4691, allocations: 402.6 kB / 0.6936 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4691, allocations: 0 / 0.6936 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4691, allocations: 7.938 kB / 0.6937 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.4691, allocations: 0 / 0.6937 GB, free: 12.57 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.0007307/0.4699, allocations: 361.8 kB / 0.694 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4699, allocations: 8.031 kB / 0.694 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.4723, allocations: 192.6 kB / 0.6942 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4726, allocations: 158 kB / 0.6943 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4726, allocations: 15.94 kB / 0.6944 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.4727, allocations: 12 kB / 0.6944 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.4733, allocations: 285.9 kB / 0.6946 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4733, allocations: 0 / 0.6946 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.4733, allocations: 4 kB / 0.6946 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4734, allocations: 7.938 kB / 0.6947 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.474, allocations: 231.8 kB / 0.6949 GB, free: 11.25 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.001805/0.4758, allocations: 0.5322 MB / 0.6954 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.4762, allocations: 190.4 kB / 0.6956 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4764, allocations: 84.83 kB / 0.6957 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.4766, allocations: 15.92 kB / 0.6957 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.4766, allocations: 34.56 kB / 0.6957 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 3.898e-06/0.4766, allocations: 4 kB / 0.6957 GB, free: 10.34 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.006076/0.4827, allocations: 1.398 MB / 0.6971 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4827, allocations: 55.41 kB / 0.6971 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.4829, allocations: 109.8 kB / 0.6972 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.4829, allocations: 29.7 kB / 0.6973 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.483, allocations: 96.36 kB / 0.6974 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/0.4831, allocations: 75.36 kB / 0.6974 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.4832, allocations: 45.66 kB / 0.6975 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4833, allocations: 322.8 kB / 0.6978 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.4836, allocations: 87.95 kB / 0.6979 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.4838, allocations: 123.3 kB / 0.698 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.4843, allocations: 226.7 kB / 0.6982 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4843, allocations: 0 / 0.6982 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000695/0.485, allocations: 286.2 kB / 0.6985 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.485, allocations: 8.094 kB / 0.6985 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.485, allocations: 4 kB / 0.6985 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001596/0.4852, allocations: 24.84 kB / 0.6985 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.4857, allocations: 55.91 kB / 0.6986 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004952/0.4862, allocations: 0.529 MB / 0.6991 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.4865, allocations: 11.98 kB / 0.6991 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.4865, allocations: 11.94 kB / 0.6991 GB, free: 6.688 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.0001575/0.4867, allocations: 129.9 kB / 0.6992 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.4868, allocations: 7.953 kB / 0.6992 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008001/0.4876, allocations: 315.3 kB / 0.6995 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4876, allocations: 15.88 kB / 0.6995 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4876, allocations: 0 / 0.6995 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4876, allocations: 7.969 kB / 0.6995 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4888, allocations: 0.5836 MB / 0.7001 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4888, allocations: 4 kB / 0.7001 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.4893, allocations: 47.95 kB / 0.7002 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.957e-05/0.4893, allocations: 24.94 kB / 0.7002 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.4894, allocations: 11.98 kB / 0.7002 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.4905, allocations: 1.237 MB / 0.7014 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4905, allocations: 3.938 kB / 0.7014 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.4914, allocations: 446.8 kB / 0.7018 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.4914, allocations: 7.984 kB / 0.7018 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.4915, allocations: 11.94 kB / 0.7019 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.4918, allocations: 15.92 kB / 0.7019 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.4919, allocations: 19.91 kB / 0.7019 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.4919, allocations: 15.98 kB / 0.7019 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.492, allocations: 79.28 kB / 0.702 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.492, allocations: 0 / 0.702 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005737/0.4925, allocations: 135.7 kB / 0.7021 GB, free: 3.391 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.0007319/0.4933, allocations: 254.8 kB / 0.7024 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006898/0.494, allocations: 242.2 kB / 0.7026 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.494, allocations: 0 / 0.7026 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.4944, allocations: 226.6 kB / 0.7028 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4949, allocations: 48.28 kB / 0.7028 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4959, allocations: 0.4984 MB / 0.7033 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.496, allocations: 93.97 kB / 0.7034 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4962, allocations: 27.42 kB / 0.7035 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.4962, allocations: 0 / 0.7035 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.009486/0.5056, allocations: 5.244 MB / 0.7086 GB, free: 12.7 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.650704856030643]