Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001526/0.001526, allocations: 117.2 kB / 19.13 MB, free: 3.945 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.001973/0.001973, allocations: 206.6 kB / 22.08 MB, free: 1 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.504/1.504, allocations: 227.5 MB / 252.3 MB, free: 80 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.2412/0.2412, allocations: 46.17 MB / 351.8 MB, free: 14.31 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.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 85.31 kB / 490.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1279, allocations: 62.44 MB / 0.5404 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5333/0.6612, allocations: 177.3 MB / 0.7135 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008467/0.6698, allocations: 5.341 MB / 0.7187 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006136/0.6704, allocations: 19.88 kB / 0.7187 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009893/0.6714, allocations: 310 kB / 0.719 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.6748, allocations: 1.252 MB / 0.7203 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.6773, allocations: 0.9633 MB / 0.7212 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.6796, allocations: 1.86 MB / 0.723 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007007/0.6804, allocations: 463.2 kB / 0.7235 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.6828, allocations: 1.082 MB / 0.7245 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.6839, allocations: 0.654 MB / 0.7251 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.684, allocations: 60 kB / 0.7252 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.6856, allocations: 0.6268 MB / 0.7258 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003129/0.6859, allocations: 275.2 kB / 0.7261 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004678/0.6864, allocations: 394.2 kB / 0.7265 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.6883, allocations: 1.312 MB / 0.7277 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6883, allocations: 0 / 0.7277 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6883, allocations: 0 / 0.7277 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.6883, allocations: 0 / 0.7277 GB, free: 15.9 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.002343/0.6907, allocations: 1.117 MB / 0.7288 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6907, allocations: 8.031 kB / 0.7288 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008464/0.6916, allocations: 139.4 kB / 0.729 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.6925, allocations: 0.5435 MB / 0.7295 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.6927, allocations: 100.4 kB / 0.7296 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.6928, allocations: 51.98 kB / 0.7296 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.6941, allocations: 0.8187 MB / 0.7304 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.6942, allocations: 7.938 kB / 0.7305 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.6943, allocations: 24 kB / 0.7305 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/0.6943, allocations: 36.98 kB / 0.7305 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.6954, allocations: 0.6204 MB / 0.7311 GB, free: 12.26 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.004787/0.7002, allocations: 3.933 MB / 0.735 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.7008, allocations: 358.4 kB / 0.7353 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.7011, allocations: 173.3 kB / 0.7355 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.7013, allocations: 101.4 kB / 0.7356 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.7013, allocations: 34.84 kB / 0.7356 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.7013, allocations: 0 / 0.7356 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.00561/0.707, allocations: 1.679 MB / 0.7372 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/0.7071, allocations: 136.5 kB / 0.7374 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.7079, allocations: 0.625 MB / 0.738 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.7079, allocations: 29.7 kB / 0.738 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.7082, allocations: 375.8 kB / 0.7384 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.7084, allocations: 146.8 kB / 0.7385 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.7086, allocations: 162.5 kB / 0.7387 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.7088, allocations: 378.8 kB / 0.739 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.7092, allocations: 201.9 kB / 0.7392 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.7099, allocations: 0.5086 MB / 0.7397 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.7109, allocations: 0.7554 MB / 0.7404 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7109, allocations: 4 kB / 0.7404 GB, free: 2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001521/0.7124, allocations: 0.8841 MB / 0.7413 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7125, allocations: 10.34 kB / 0.7413 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.7125, allocations: 12 kB / 0.7413 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.7139, allocations: 312.8 kB / 0.7416 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.7143, allocations: 127.8 kB / 0.7418 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.7155, allocations: 0.9348 MB / 0.7427 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.716, allocations: 28 kB / 0.7427 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.7161, allocations: 69.31 kB / 0.7428 GB, free: 15.59 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.0003609/0.7165, allocations: 248.3 kB / 0.743 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.7166, allocations: 75.56 kB / 0.7431 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.7183, allocations: 0.8595 MB / 0.7439 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.7183, allocations: 4 kB / 0.7439 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7183, allocations: 0 / 0.7439 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.7183, allocations: 4 kB / 0.7439 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/0.7204, allocations: 1.465 MB / 0.7453 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7204, allocations: 4 kB / 0.7453 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7215, allocations: 212 kB / 0.7456 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.545e-05/0.7216, allocations: 24.78 kB / 0.7456 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.7217, allocations: 19.98 kB / 0.7456 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.724, allocations: 2.878 MB / 0.7484 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.724, allocations: 3.938 kB / 0.7484 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.7254, allocations: 0.823 MB / 0.7492 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.7257, allocations: 188.7 kB / 0.7494 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.7258, allocations: 16 kB / 0.7494 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.7262, allocations: 15.98 kB / 0.7494 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.7263, allocations: 43.89 kB / 0.7495 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.7264, allocations: 43.98 kB / 0.7495 GB, free: 8.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005592/0.7269, allocations: 439 kB / 0.7499 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7269, allocations: 0 / 0.7499 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000901/0.7278, allocations: 255.8 kB / 0.7502 GB, free: 7.52 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.000796/0.7286, allocations: 301.9 kB / 0.7505 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.7299, allocations: 0.5655 MB / 0.751 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7299, allocations: 3.859 kB / 0.751 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/0.7309, allocations: 411.3 kB / 0.7514 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.7326, allocations: 369.3 kB / 0.7518 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.7349, allocations: 1.39 MB / 0.7531 GB, free: 4.445 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.7355, allocations: 0.9261 MB / 0.754 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.7358, allocations: 131.4 kB / 0.7541 GB, free: 3.363 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.7359, allocations: 0 / 0.7541 GB, free: 3.363 MB / 0.545 GB Notification: Performance of Templates: time 0.02395/0.7598, allocations: 16.64 MB / 0.7704 GB, free: 2.781 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.28868249093648]