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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, allocations: 109.6 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 211.2 kB / 23.54 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.2 MB / 256.8 MB, free: 8.637 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2415/0.2415, allocations: 46.9 MB / 359.9 MB, free: 4.984 MB / 286.1 MB [Timeout remaining time 89] 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.002578/0.002578, allocations: 75.88 kB / 0.495 GB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3901, allocations: 65.99 MB / 0.5594 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2366/0.6267, allocations: 177.9 MB / 0.7331 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4663/1.093, allocations: 5.337 MB / 0.7383 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/1.094, allocations: 22.22 kB / 0.7384 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/1.096, allocations: 327.7 kB / 0.7387 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004454/1.1, allocations: 1.274 MB / 0.7399 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/1.103, allocations: 0.9742 MB / 0.7409 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002905/1.106, allocations: 1.861 MB / 0.7427 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007812/1.107, allocations: 412.8 kB / 0.7431 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/1.11, allocations: 1.101 MB / 0.7442 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/1.112, allocations: 0.7021 MB / 0.7448 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/1.112, allocations: 63.25 kB / 0.7449 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/1.114, allocations: 0.6339 MB / 0.7455 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004015/1.114, allocations: 269.1 kB / 0.7458 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/1.115, allocations: 400.3 kB / 0.7462 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.117, allocations: 1.31 MB / 0.7474 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.117, allocations: 0.9688 kB / 0.7474 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.254e-06/1.117, allocations: 0 / 0.7474 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.283e-05/1.117, allocations: 2.906 kB / 0.7474 GB, free: 1.625 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.002679/1.12, allocations: 1.122 MB / 0.7485 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.12, allocations: 9.938 kB / 0.7485 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008133/1.121, allocations: 138 kB / 0.7487 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008937/1.122, allocations: 0.5418 MB / 0.7492 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.122, allocations: 99.11 kB / 0.7493 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/1.122, allocations: 49.58 kB / 0.7494 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.123, allocations: 0.8205 MB / 0.7502 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.123, allocations: 3.328 kB / 0.7502 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/1.123, allocations: 29.12 kB / 0.7502 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/1.123, allocations: 40.92 kB / 0.7502 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009502/1.124, allocations: 0.6171 MB / 0.7508 GB, free: 16.41 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.004616/1.129, allocations: 3.934 MB / 0.7547 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/1.129, allocations: 339.5 kB / 0.755 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/1.13, allocations: 167.1 kB / 0.7551 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/1.13, allocations: 93.67 kB / 0.7552 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.13, allocations: 38.34 kB / 0.7553 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/1.13, allocations: 3.094 kB / 0.7553 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005423/1.135, allocations: 1.694 MB / 0.7569 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.135, allocations: 134.2 kB / 0.7571 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/1.136, allocations: 0.6125 MB / 0.7577 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/1.136, allocations: 38.08 kB / 0.7577 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.136, allocations: 374 kB / 0.7581 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/1.136, allocations: 147.8 kB / 0.7582 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/1.137, allocations: 158.5 kB / 0.7583 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.137, allocations: 374.7 kB / 0.7587 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/1.137, allocations: 205 kB / 0.7589 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/1.138, allocations: 0.5199 MB / 0.7594 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/1.139, allocations: 0.7473 MB / 0.7601 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.139, allocations: 3.25 kB / 0.7601 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001373/1.14, allocations: 0.8829 MB / 0.761 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.14, allocations: 11.34 kB / 0.761 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.14, allocations: 10.25 kB / 0.761 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/1.142, allocations: 314.4 kB / 0.7613 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/1.142, allocations: 123.9 kB / 0.7614 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/1.143, allocations: 0.9287 MB / 0.7623 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/1.144, allocations: 30.59 kB / 0.7624 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.901e-05/1.144, allocations: 67.75 kB / 0.7624 GB, free: 10.79 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.0003829/1.144, allocations: 250.5 kB / 0.7627 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.144, allocations: 68.55 kB / 0.7627 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.146, allocations: 0.8623 MB / 0.7636 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.146, allocations: 7.094 kB / 0.7636 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.146, allocations: 2.469 kB / 0.7636 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.146, allocations: 3.984 kB / 0.7636 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/1.148, allocations: 1.461 MB / 0.765 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.148, allocations: 0 / 0.765 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.149, allocations: 216.7 kB / 0.7652 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.765e-05/1.149, allocations: 21.83 kB / 0.7653 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/1.149, allocations: 22.08 kB / 0.7653 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002473/1.152, allocations: 2.876 MB / 0.7681 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.152, allocations: 6.312 kB / 0.7681 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.153, allocations: 0.8222 MB / 0.7689 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/1.153, allocations: 188 kB / 0.7691 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/1.153, allocations: 12.94 kB / 0.7691 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/1.154, allocations: 19.56 kB / 0.7691 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/1.154, allocations: 44.28 kB / 0.7691 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/1.154, allocations: 44.94 kB / 0.7692 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005222/1.155, allocations: 440 kB / 0.7696 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.155, allocations: 0 / 0.7696 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001046/1.156, allocations: 255.5 kB / 0.7698 GB, free: 6.645 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.0008031/1.156, allocations: 298.4 kB / 0.7701 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001155/1.158, allocations: 0.5401 MB / 0.7707 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.158, allocations: 7.328 kB / 0.7707 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000914/1.158, allocations: 397.8 kB / 0.771 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.16, allocations: 384.7 kB / 0.7714 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/1.162, allocations: 1.384 MB / 0.7728 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.163, allocations: 0.9275 MB / 0.7737 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/1.163, allocations: 130.8 kB / 0.7738 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.163, allocations: 0 / 0.7738 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.02508/1.188, allocations: 16.68 MB / 0.7901 GB, free: 0.9727 MB / 0.5762 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/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] "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p