Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001315/0.001315, allocations: 67.77 kB / 21.24 MB, free: 404 kB / 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.001438/0.001438, allocations: 164.2 kB / 24.49 MB, free: 3.453 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.451/1.451, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2126/0.2126, allocations: 34.27 MB / 295.5 MB, free: 14.61 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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.89 kB / 443.2 MB, free: 6.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3151, allocations: 66.01 MB / 0.4972 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.158/0.4731, allocations: 130.3 MB / 0.6245 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008635/0.4817, allocations: 5.16 MB / 0.6295 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/0.4823, allocations: 31.69 kB / 0.6295 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.4833, allocations: 310 kB / 0.6298 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.4854, allocations: 0.8941 MB / 0.6307 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002846/0.4882, allocations: 1.048 MB / 0.6317 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.4907, allocations: 1.813 MB / 0.6335 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000644/0.4913, allocations: 397.5 kB / 0.6339 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.4927, allocations: 0.7903 MB / 0.6346 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.4938, allocations: 0.7358 MB / 0.6354 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.494, allocations: 64 kB / 0.6354 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.4952, allocations: 495.1 kB / 0.6359 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.4955, allocations: 275.1 kB / 0.6362 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.4959, allocations: 334.6 kB / 0.6365 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4975, allocations: 1.168 MB / 0.6376 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4975, allocations: 0 / 0.6376 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4975, allocations: 0 / 0.6376 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4976, allocations: 0 / 0.6376 GB, free: 5.602 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.002185/0.4997, allocations: 0.9912 MB / 0.6386 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.4998, allocations: 8.031 kB / 0.6386 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.5002, allocations: 100.4 kB / 0.6387 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.5011, allocations: 482.7 kB / 0.6391 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.5012, allocations: 156.3 kB / 0.6393 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.718e-05/0.5013, allocations: 48.38 kB / 0.6393 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.5028, allocations: 1.145 MB / 0.6405 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5028, allocations: 4 kB / 0.6405 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.5029, allocations: 27.94 kB / 0.6405 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.651e-05/0.503, allocations: 44.91 kB / 0.6405 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.5041, allocations: 0.644 MB / 0.6412 GB, free: 1.742 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.00443/0.5085, allocations: 3.075 MB / 0.6442 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.5094, allocations: 408.2 kB / 0.6446 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.5097, allocations: 185.4 kB / 0.6447 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.51, allocations: 72.28 kB / 0.6448 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.5101, allocations: 42.88 kB / 0.6448 GB, free: 13.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.5101, allocations: 3.938 kB / 0.6448 GB, free: 13.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00329/0.5133, allocations: 1.394 MB / 0.6462 GB, free: 12.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.5134, allocations: 132.5 kB / 0.6463 GB, free: 12.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/0.5141, allocations: 0.5181 MB / 0.6468 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.5141, allocations: 33.7 kB / 0.6469 GB, free: 11.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.5144, allocations: 376.4 kB / 0.6472 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5145, allocations: 170.5 kB / 0.6474 GB, free: 11.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.5147, allocations: 142.6 kB / 0.6475 GB, free: 11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5149, allocations: 370.8 kB / 0.6479 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/0.5153, allocations: 217.9 kB / 0.6481 GB, free: 10.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006862/0.516, allocations: 0.5838 MB / 0.6487 GB, free: 9.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5171, allocations: 0.7611 MB / 0.6494 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5171, allocations: 4 kB / 0.6494 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00169/0.5188, allocations: 0.9042 MB / 0.6503 GB, free: 7.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5188, allocations: 8 kB / 0.6503 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5188, allocations: 16.03 kB / 0.6503 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.5203, allocations: 286.4 kB / 0.6506 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.5207, allocations: 119.8 kB / 0.6507 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.5218, allocations: 0.8879 MB / 0.6516 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004278/0.5222, allocations: 28 kB / 0.6516 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.5223, allocations: 35.94 kB / 0.6516 GB, free: 6.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.5227, allocations: 254.2 kB / 0.6519 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5228, allocations: 59.62 kB / 0.6519 GB, free: 6.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.5241, allocations: 0.6893 MB / 0.6526 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5241, allocations: 8 kB / 0.6526 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5241, allocations: 0 / 0.6526 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.5242, allocations: 3.984 kB / 0.6526 GB, free: 5.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.5261, allocations: 1.172 MB / 0.6538 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5261, allocations: 0 / 0.6538 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.5272, allocations: 207.9 kB / 0.654 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.173e-05/0.5273, allocations: 24.84 kB / 0.654 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.5274, allocations: 15.94 kB / 0.654 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.5296, allocations: 2.629 MB / 0.6566 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5296, allocations: 4.031 kB / 0.6566 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.5311, allocations: 0.9324 MB / 0.6575 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.5313, allocations: 115.9 kB / 0.6576 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.5314, allocations: 20 kB / 0.6576 GB, free: 24 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.5318, allocations: 12 kB / 0.6576 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5319, allocations: 39.92 kB / 0.6577 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.5319, allocations: 27.92 kB / 0.6577 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004452/0.5324, allocations: 354.8 kB / 0.658 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5324, allocations: 0 / 0.658 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008203/0.5332, allocations: 219.8 kB / 0.6582 GB, free: 15.39 MB / 0.5606 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004356/0.5337, allocations: 247 kB / 0.6585 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.5349, allocations: 0.584 MB / 0.659 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.5349, allocations: 4.453 kB / 0.659 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.536, allocations: 446.3 kB / 0.6595 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.5375, allocations: 322.5 kB / 0.6598 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.5399, allocations: 1.381 MB / 0.6611 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5403, allocations: 349 kB / 0.6615 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006189/0.5409, allocations: 196.6 kB / 0.6616 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5411, allocations: 60.48 kB / 0.6617 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.5411, allocations: 0 / 0.6617 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.0261/0.5672, allocations: 14.3 MB / 0.6757 GB, free: 13.73 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 5.851393111050129]