Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001482/0.001482, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001748/0.001748, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.524/1.524, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.24/0.24, allocations: 46.94 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 79.86 kB / 0.4975 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.382, allocations: 66.07 MB / 0.562 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2561/0.6381, allocations: 178.1 MB / 0.7359 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4554/1.093, allocations: 5.369 MB / 0.7412 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/1.095, allocations: 30.62 kB / 0.7412 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/1.096, allocations: 320.2 kB / 0.7415 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004343/1.1, allocations: 1.288 MB / 0.7427 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/1.103, allocations: 0.9846 MB / 0.7437 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00342/1.107, allocations: 1.88 MB / 0.7455 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/1.108, allocations: 393.9 kB / 0.7459 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/1.111, allocations: 1.123 MB / 0.747 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1.112, allocations: 0.7056 MB / 0.7477 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/1.112, allocations: 61.25 kB / 0.7478 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/1.114, allocations: 0.6375 MB / 0.7484 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/1.114, allocations: 272.4 kB / 0.7486 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004754/1.115, allocations: 398 kB / 0.749 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/1.117, allocations: 1.308 MB / 0.7503 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.117, allocations: 0.875 kB / 0.7503 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.437e-06/1.117, allocations: 0 / 0.7503 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.299e-05/1.117, allocations: 0.9375 kB / 0.7503 GB, free: 1.559 MB / 0.5606 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.002302/1.119, allocations: 1.05 MB / 0.7513 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.119, allocations: 8.219 kB / 0.7513 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007897/1.12, allocations: 144.3 kB / 0.7515 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/1.121, allocations: 474.6 kB / 0.7519 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/1.121, allocations: 155.7 kB / 0.7521 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/1.121, allocations: 49.66 kB / 0.7521 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.122, allocations: 0.8204 MB / 0.7529 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.122, allocations: 5.188 kB / 0.7529 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/1.122, allocations: 24.89 kB / 0.753 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/1.122, allocations: 37.33 kB / 0.753 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000908/1.123, allocations: 0.6223 MB / 0.7536 GB, free: 16.44 MB / 0.5762 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.004296/1.127, allocations: 3.88 MB / 0.7574 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/1.128, allocations: 345.8 kB / 0.7577 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/1.128, allocations: 161.5 kB / 0.7579 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-05/1.128, allocations: 15.58 kB / 0.7579 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.128, allocations: 42 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/1.128, allocations: 2.969 kB / 0.7579 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005364/1.134, allocations: 1.598 MB / 0.7595 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.134, allocations: 134.9 kB / 0.7596 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/1.135, allocations: 0.6146 MB / 0.7602 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/1.135, allocations: 35.95 kB / 0.7602 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/1.135, allocations: 376.7 kB / 0.7606 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/1.135, allocations: 150.8 kB / 0.7608 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/1.135, allocations: 157.5 kB / 0.7609 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.136, allocations: 373.4 kB / 0.7613 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/1.136, allocations: 206.3 kB / 0.7615 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/1.137, allocations: 0.5155 MB / 0.762 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.138, allocations: 0.7559 MB / 0.7627 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.138, allocations: 3.375 kB / 0.7627 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00153/1.139, allocations: 0.8841 MB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.139, allocations: 11.03 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.139, allocations: 10.16 kB / 0.7636 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/1.141, allocations: 318 kB / 0.7639 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.141, allocations: 124.1 kB / 0.764 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.142, allocations: 0.9404 MB / 0.7649 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/1.143, allocations: 26.66 kB / 0.7649 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/1.143, allocations: 64.94 kB / 0.765 GB, free: 11.04 MB / 0.5762 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.0004115/1.143, allocations: 243.1 kB / 0.7652 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.143, allocations: 72.89 kB / 0.7653 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.145, allocations: 0.8702 MB / 0.7662 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.145, allocations: 7.094 kB / 0.7662 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.145, allocations: 0 / 0.7662 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.145, allocations: 2.906 kB / 0.7662 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/1.147, allocations: 1.205 MB / 0.7673 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.147, allocations: 2.906 kB / 0.7674 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/1.148, allocations: 209.3 kB / 0.7676 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/1.148, allocations: 25.73 kB / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.148, allocations: 25.89 kB / 0.7676 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/1.15, allocations: 2.675 MB / 0.7702 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.15, allocations: 2.25 kB / 0.7702 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.152, allocations: 0.8189 MB / 0.771 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/1.152, allocations: 118.9 kB / 0.7711 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/1.152, allocations: 10.66 kB / 0.7711 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/1.153, allocations: 20.42 kB / 0.7712 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.352e-05/1.153, allocations: 35.67 kB / 0.7712 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/1.153, allocations: 44.33 kB / 0.7712 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005404/1.153, allocations: 441.2 kB / 0.7717 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.153, allocations: 0 / 0.7717 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001015/1.154, allocations: 258.2 kB / 0.7719 GB, free: 7.559 MB / 0.5762 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.0006307/1.155, allocations: 284.3 kB / 0.7722 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001078/1.156, allocations: 0.535 MB / 0.7727 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.156, allocations: 4.344 kB / 0.7727 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009635/1.157, allocations: 408.3 kB / 0.7731 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/1.158, allocations: 369.3 kB / 0.7734 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/1.161, allocations: 1.361 MB / 0.7748 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.161, allocations: 0.9321 MB / 0.7757 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009957/1.162, allocations: 457.5 kB / 0.7761 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/1.162, allocations: 113.4 kB / 0.7762 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of SimCode: time 6.92e-07/1.162, allocations: 2.375 kB / 0.7762 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.03229/1.195, allocations: 18.1 MB / 0.7939 GB, free: 1.359 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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.680386085063219]