Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001867/0.001866, allocations: 117 kB / 19.13 MB, free: 3.934 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.00218/0.00218, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.529/1.529, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.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.2447/0.2447, allocations: 46.16 MB / 351.8 MB, free: 14.32 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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 76.8 kB / 490.9 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1347, allocations: 62.46 MB / 0.5404 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5247/0.6594, allocations: 177.3 MB / 0.7135 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.6676, allocations: 5.333 MB / 0.7187 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007147/0.6684, allocations: 19.88 kB / 0.7187 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009549/0.6694, allocations: 318 kB / 0.719 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.6728, allocations: 1.25 MB / 0.7203 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.6754, allocations: 0.9723 MB / 0.7212 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002651/0.6781, allocations: 1.856 MB / 0.723 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008193/0.6789, allocations: 464.9 kB / 0.7235 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.6815, allocations: 1.074 MB / 0.7245 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.6827, allocations: 0.654 MB / 0.7252 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.6829, allocations: 60 kB / 0.7252 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.6845, allocations: 0.6242 MB / 0.7258 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.6848, allocations: 275.2 kB / 0.7261 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/0.6854, allocations: 398.2 kB / 0.7265 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.6876, allocations: 1.308 MB / 0.7277 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6876, allocations: 0 / 0.7277 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6876, allocations: 0 / 0.7277 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.6876, allocations: 0 / 0.7277 GB, free: 15.73 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002379/0.69, allocations: 1.121 MB / 0.7288 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.6901, allocations: 12.03 kB / 0.7288 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008448/0.6909, allocations: 139.4 kB / 0.729 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.6918, allocations: 0.5396 MB / 0.7295 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.692, allocations: 100.4 kB / 0.7296 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.571e-05/0.6921, allocations: 47.98 kB / 0.7296 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.6935, allocations: 0.8214 MB / 0.7304 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.6935, allocations: 7.938 kB / 0.7305 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.6936, allocations: 23.98 kB / 0.7305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.6936, allocations: 36.98 kB / 0.7305 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.6947, allocations: 0.6243 MB / 0.7311 GB, free: 12.09 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.004861/0.6996, allocations: 3.933 MB / 0.735 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.7003, allocations: 351.6 kB / 0.7353 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.7006, allocations: 173.3 kB / 0.7355 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.7007, allocations: 97.36 kB / 0.7356 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.7008, allocations: 34.84 kB / 0.7356 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.184e-06/0.7008, allocations: 0 / 0.7356 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005691/0.7065, allocations: 1.69 MB / 0.7372 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.7066, allocations: 136.5 kB / 0.7374 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.7074, allocations: 0.6173 MB / 0.738 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.7074, allocations: 29.7 kB / 0.738 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.7078, allocations: 387.7 kB / 0.7384 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.7079, allocations: 142.8 kB / 0.7385 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002433/0.7081, allocations: 162.6 kB / 0.7387 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7083, allocations: 374.8 kB / 0.739 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.7087, allocations: 197.9 kB / 0.7392 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/0.7094, allocations: 0.5124 MB / 0.7397 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7105, allocations: 0.7555 MB / 0.7404 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.7105, allocations: 4 kB / 0.7405 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001588/0.7121, allocations: 0.8836 MB / 0.7413 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7121, allocations: 8 kB / 0.7413 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.7121, allocations: 12 kB / 0.7413 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/0.7136, allocations: 317.3 kB / 0.7416 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.714, allocations: 119.8 kB / 0.7418 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.7153, allocations: 0.9436 MB / 0.7427 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.7158, allocations: 20 kB / 0.7427 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.7159, allocations: 71.98 kB / 0.7428 GB, free: 15.43 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004146/0.7163, allocations: 249.6 kB / 0.743 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/0.7165, allocations: 75.56 kB / 0.7431 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.7183, allocations: 0.8613 MB / 0.7439 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.525e-06/0.7183, allocations: 4 kB / 0.7439 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.7183, allocations: 0 / 0.7439 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.7183, allocations: 0 / 0.7439 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.7208, allocations: 1.473 MB / 0.7454 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.7208, allocations: 0 / 0.7454 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.7219, allocations: 211.7 kB / 0.7456 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.816e-05/0.722, allocations: 16.84 kB / 0.7456 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.7221, allocations: 28.17 kB / 0.7456 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/0.7246, allocations: 2.874 MB / 0.7484 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7246, allocations: 3.938 kB / 0.7484 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.726, allocations: 0.8268 MB / 0.7492 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.7264, allocations: 188.7 kB / 0.7494 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.7266, allocations: 12 kB / 0.7494 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.727, allocations: 19.98 kB / 0.7494 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.7272, allocations: 47.89 kB / 0.7495 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.675e-05/0.7273, allocations: 47.92 kB / 0.7495 GB, free: 8.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006683/0.7279, allocations: 439 kB / 0.7499 GB, free: 7.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7279, allocations: 0 / 0.7499 GB, free: 7.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001001/0.7289, allocations: 255.7 kB / 0.7502 GB, free: 7.336 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0009183/0.7299, allocations: 296.9 kB / 0.7505 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.7312, allocations: 0.566 MB / 0.751 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.7312, allocations: 3.859 kB / 0.751 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.7323, allocations: 410.8 kB / 0.7514 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.7341, allocations: 362.2 kB / 0.7518 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.7365, allocations: 1.386 MB / 0.7531 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/0.7372, allocations: 0.93 MB / 0.754 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.7376, allocations: 127.4 kB / 0.7541 GB, free: 3.195 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.7376, allocations: 0 / 0.7541 GB, free: 3.195 MB / 0.545 GB Notification: Performance of Templates: time 0.02612/0.7637, allocations: 16.64 MB / 0.7704 GB, free: 2.613 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p [Calling sys.exit(0), Time elapsed: 11.315009312005714]