Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001408/0.001408, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.001573/0.001573, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 44.94 MB / 359.6 MB, free: 6.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 75.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3988, allocations: 65.46 MB / 0.5582 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2377/0.6365, allocations: 168.7 MB / 0.723 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.6472, allocations: 6.83 MB / 0.7296 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008292/0.6481, allocations: 27.75 kB / 0.7297 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6494, allocations: 413.6 kB / 0.7301 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.6562, allocations: 2.396 MB / 0.7324 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/0.663, allocations: 2.355 MB / 0.7347 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4383/1.101, allocations: 2.212 MB / 0.7369 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/1.103, allocations: 0.5051 MB / 0.7374 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006755/1.11, allocations: 1.882 MB / 0.7392 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/1.112, allocations: 0.8942 MB / 0.7401 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/1.112, allocations: 92.56 kB / 0.7402 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008789/1.121, allocations: 4.269 MB / 0.7443 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008541/1.122, allocations: 443.9 kB / 0.7448 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.123, allocations: 467.8 kB / 0.7452 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009152/1.132, allocations: 3.679 MB / 0.7488 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.132, allocations: 3.844 kB / 0.7488 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/1.132, allocations: 0 / 0.7488 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.106e-05/1.132, allocations: 0.9688 kB / 0.7488 GB, free: 3.672 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004792/1.137, allocations: 1.696 MB / 0.7505 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.137, allocations: 8.375 kB / 0.7505 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/1.137, allocations: 119.9 kB / 0.7506 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/1.138, allocations: 0.557 MB / 0.7511 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.139, allocations: 170.2 kB / 0.7513 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.139, allocations: 73 kB / 0.7513 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/1.141, allocations: 1.564 MB / 0.7529 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/1.141, allocations: 7.047 kB / 0.7529 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.22e-05/1.141, allocations: 32.06 kB / 0.7529 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/1.141, allocations: 60.69 kB / 0.753 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/1.143, allocations: 1.152 MB / 0.7541 GB, free: 17.74 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.006363/1.149, allocations: 3.671 MB / 0.7577 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.151, allocations: 0.7846 MB / 0.7584 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005611/1.151, allocations: 413.8 kB / 0.7588 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/1.152, allocations: 209.5 kB / 0.759 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.152, allocations: 46.38 kB / 0.7591 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.616e-06/1.152, allocations: 0 / 0.7591 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01232/1.164, allocations: 3.932 MB / 0.7629 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/1.164, allocations: 116 kB / 0.763 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/1.165, allocations: 0.5419 MB / 0.7636 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.165, allocations: 43.98 kB / 0.7636 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.165, allocations: 404.9 kB / 0.764 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.165, allocations: 313.5 kB / 0.7643 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.166, allocations: 193.1 kB / 0.7645 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.166, allocations: 378.1 kB / 0.7648 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/1.167, allocations: 495.4 kB / 0.7653 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/1.168, allocations: 0.8123 MB / 0.7661 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/1.17, allocations: 1.28 MB / 0.7674 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.17, allocations: 3.375 kB / 0.7674 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003263/1.173, allocations: 1.649 MB / 0.769 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/1.173, allocations: 11.44 kB / 0.769 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/1.173, allocations: 11.97 kB / 0.769 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006708/1.18, allocations: 1.313 MB / 0.7703 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.18, allocations: 154.5 kB / 0.7704 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/1.183, allocations: 1.532 MB / 0.7719 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/1.184, allocations: 55.62 kB / 0.772 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.184, allocations: 55 kB / 0.772 GB, free: 13.51 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005859/1.185, allocations: 294.5 kB / 0.7723 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.185, allocations: 79.19 kB / 0.7724 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/1.188, allocations: 1.673 MB / 0.774 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.188, allocations: 7.781 kB / 0.774 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.188, allocations: 0 / 0.774 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.188, allocations: 6.453 kB / 0.774 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/1.192, allocations: 2.275 MB / 0.7762 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.192, allocations: 0.875 kB / 0.7762 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.193, allocations: 260.2 kB / 0.7765 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/1.195, allocations: 383.2 kB / 0.7769 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/1.195, allocations: 34.45 kB / 0.7769 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/1.197, allocations: 2.223 MB / 0.7791 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.197, allocations: 10.83 kB / 0.7791 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/1.201, allocations: 2.019 MB / 0.781 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006336/1.202, allocations: 205.5 kB / 0.7812 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/1.202, allocations: 20.5 kB / 0.7813 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007924/1.203, allocations: 54.14 kB / 0.7813 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.203, allocations: 66.39 kB / 0.7814 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.203, allocations: 44.84 kB / 0.7814 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006477/1.204, allocations: 394.2 kB / 0.7818 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.204, allocations: 0.9688 kB / 0.7818 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002765/1.206, allocations: 0.6907 MB / 0.7825 GB, free: 10.58 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002665/1.209, allocations: 0.8169 MB / 0.7833 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002643/1.212, allocations: 1.188 MB / 0.7844 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.212, allocations: 2.375 kB / 0.7844 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001569/1.213, allocations: 0.6787 MB / 0.7851 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/1.215, allocations: 428.2 kB / 0.7855 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00494/1.22, allocations: 2.22 MB / 0.7877 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/1.221, allocations: 457.7 kB / 0.7881 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.221, allocations: 95.92 kB / 0.7882 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.221, allocations: 1.094 kB / 0.7882 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of Templates: time 0.04381/1.265, allocations: 27.65 MB / 0.8152 GB, free: 9.727 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 12.990466626826674]