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.002435/0.002435, allocations: 99.53 kB / 20.96 MB, free: 3.453 MB / 18.57 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.002991/0.002991, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.578/1.578, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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.3603/0.3603, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 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.p|volume.medium.T",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.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.729e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.3694/0.3694, allocations: 170.8 MB / 0.5352 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008588/0.378, allocations: 5.402 MB / 0.5405 GB, free: 12.99 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009214/0.3789, allocations: 31.41 kB / 0.5405 GB, free: 12.97 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.3801, allocations: 307.6 kB / 0.5408 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.384, allocations: 1.32 MB / 0.5421 GB, free: 12.08 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.3867, allocations: 1.01 MB / 0.5431 GB, free: 11.57 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.3892, allocations: 1.883 MB / 0.5449 GB, free: 10.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.3901, allocations: 418.7 kB / 0.5453 GB, free: 10.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/0.3932, allocations: 1.348 MB / 0.5466 GB, free: 9.77 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.3945, allocations: 0.641 MB / 0.5473 GB, free: 9.434 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.3947, allocations: 60.06 kB / 0.5473 GB, free: 9.434 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3961, allocations: 0.5533 MB / 0.5478 GB, free: 9.191 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.3965, allocations: 287.8 kB / 0.5481 GB, free: 8.996 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.3972, allocations: 287.4 kB / 0.5484 GB, free: 8.859 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.3996, allocations: 1.39 MB / 0.5498 GB, free: 7.973 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3996, allocations: 0 / 0.5498 GB, free: 7.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3996, allocations: 4 kB / 0.5498 GB, free: 7.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3996, allocations: 3.938 kB / 0.5498 GB, free: 7.965 MB / 426.7 MB 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.002367/0.402, allocations: 1.191 MB / 0.5509 GB, free: 7.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.402, allocations: 8.906 kB / 0.5509 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.4029, allocations: 220.6 kB / 0.5511 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.4039, allocations: 0.4903 MB / 0.5516 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4041, allocations: 153.6 kB / 0.5518 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4042, allocations: 59.8 kB / 0.5518 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.4057, allocations: 1.119 MB / 0.5529 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4058, allocations: 7 kB / 0.5529 GB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.4058, allocations: 21.86 kB / 0.5529 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.4059, allocations: 39.89 kB / 0.553 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009021/0.4068, allocations: 467.3 kB / 0.5534 GB, free: 5.145 MB / 426.7 MB 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.005724/0.4125, allocations: 4.149 MB / 0.5575 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.4132, allocations: 296.1 kB / 0.5578 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.4134, allocations: 136.2 kB / 0.5579 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.4135, allocations: 20.27 kB / 0.5579 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.4136, allocations: 41.67 kB / 0.558 GB, free: 404 kB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.503e-06/0.4136, allocations: 0 / 0.558 GB, free: 404 kB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.00599/0.4196, allocations: 1.384 MB / 0.5593 GB, free: 14.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.4197, allocations: 132.5 kB / 0.5594 GB, free: 14.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008672/0.4205, allocations: 0.6585 MB / 0.5601 GB, free: 14.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.4206, allocations: 37.7 kB / 0.5601 GB, free: 14.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/0.421, allocations: 459 kB / 0.5605 GB, free: 13.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4212, allocations: 162.7 kB / 0.5607 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.4215, allocations: 180.2 kB / 0.5609 GB, free: 13.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003789/0.4219, allocations: 0.5781 MB / 0.5614 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.4223, allocations: 141.9 kB / 0.5616 GB, free: 12.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/0.4232, allocations: 0.6849 MB / 0.5622 GB, free: 11.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4244, allocations: 0.7822 MB / 0.563 GB, free: 10.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4244, allocations: 4 kB / 0.563 GB, free: 10.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002221/0.4266, allocations: 0.778 MB / 0.5638 GB, free: 9.879 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.4267, allocations: 16 kB / 0.5638 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.4267, allocations: 8 kB / 0.5638 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.429, allocations: 291.1 kB / 0.5641 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.4295, allocations: 119.8 kB / 0.5642 GB, free: 9.453 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.4309, allocations: 1.133 MB / 0.5653 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.4314, allocations: 28 kB / 0.5653 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4315, allocations: 67.95 kB / 0.5654 GB, free: 8.199 MB / 442.7 MB 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.0003795/0.4318, allocations: 244.3 kB / 0.5656 GB, free: 7.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.432, allocations: 79.62 kB / 0.5657 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.4337, allocations: 0.7952 MB / 0.5665 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.4337, allocations: 4 kB / 0.5665 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4337, allocations: 0 / 0.5665 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4337, allocations: 0 / 0.5665 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.436, allocations: 1.152 MB / 0.5676 GB, free: 5.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.436, allocations: 4.188 kB / 0.5676 GB, free: 5.832 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.437, allocations: 195.8 kB / 0.5678 GB, free: 5.641 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.4371, allocations: 27.67 kB / 0.5678 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.4372, allocations: 20 kB / 0.5678 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.4403, allocations: 3.651 MB / 0.5714 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4403, allocations: 0 / 0.5714 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.4417, allocations: 0.7755 MB / 0.5722 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.442, allocations: 95.58 kB / 0.5722 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4421, allocations: 15.94 kB / 0.5723 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.4425, allocations: 19.94 kB / 0.5723 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.4426, allocations: 39.88 kB / 0.5723 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.4426, allocations: 35.98 kB / 0.5724 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005382/0.4432, allocations: 402.8 kB / 0.5727 GB, free: 292 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4432, allocations: 0 / 0.5727 GB, free: 292 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009939/0.4442, allocations: 255.7 kB / 0.573 GB, free: 36 kB / 442.7 MB 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 (38): * Single equations (assignments): 36 * 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.0007856/0.445, allocations: 291.8 kB / 0.5733 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.4462, allocations: 498 kB / 0.5737 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4462, allocations: 0 / 0.5737 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.4473, allocations: 442.4 kB / 0.5742 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.449, allocations: 325.6 kB / 0.5745 GB, free: 14.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.4515, allocations: 1.202 MB / 0.5756 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4519, allocations: 324.3 kB / 0.576 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.4529, allocations: 418.3 kB / 0.5764 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000288/0.4532, allocations: 96.45 kB / 0.5764 GB, free: 12.4 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4532, allocations: 0 / 0.5764 GB, free: 12.4 MB / 458.7 MB Notification: Performance of Templates: time 0.03086/0.484, allocations: 15.45 MB / 0.5915 GB, free: 13.17 MB / 474.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.080642202985473]