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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002352/0.002352, allocations: 191.4 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251.6 MB, free: 13.32 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.2173/0.2173, allocations: 44.92 MB / 351.6 MB, free: 12.32 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 495.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 64.25 MB / 0.5464 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6915/1.056, allocations: 191.5 MB / 0.7334 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01586/1.072, allocations: 7.454 MB / 0.7407 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/1.073, allocations: 18.38 kB / 0.7407 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.075, allocations: 461.1 kB / 0.7412 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00823/1.083, allocations: 2.367 MB / 0.7435 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00752/1.091, allocations: 2.304 MB / 0.7457 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003679/1.094, allocations: 2.198 MB / 0.7479 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/1.096, allocations: 0.511 MB / 0.7484 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/1.101, allocations: 1.819 MB / 0.7501 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.103, allocations: 0.9193 MB / 0.751 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/1.104, allocations: 93.53 kB / 0.7511 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01273/1.117, allocations: 5.34 MB / 0.7563 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/1.118, allocations: 441.8 kB / 0.7568 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002102/1.12, allocations: 0.531 MB / 0.7573 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/1.133, allocations: 3.797 MB / 0.761 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.133, allocations: 1.953 kB / 0.761 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.885e-06/1.133, allocations: 0 / 0.761 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.769e-05/1.133, allocations: 2.719 kB / 0.761 GB, free: 1.359 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.007339/1.141, allocations: 1.759 MB / 0.7627 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.141, allocations: 11.78 kB / 0.7627 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/1.142, allocations: 122 kB / 0.7628 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/1.143, allocations: 0.6227 MB / 0.7634 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/1.144, allocations: 118.8 kB / 0.7636 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.144, allocations: 69.77 kB / 0.7636 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/1.146, allocations: 1.159 MB / 0.7648 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/1.146, allocations: 3.297 kB / 0.7648 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/1.146, allocations: 32.39 kB / 0.7648 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.618e-05/1.146, allocations: 64.16 kB / 0.7649 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/1.149, allocations: 1.161 MB / 0.766 GB, free: 15.84 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.008764/1.157, allocations: 4.985 MB / 0.7709 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/1.159, allocations: 0.789 MB / 0.7716 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/1.16, allocations: 402.6 kB / 0.772 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/1.162, allocations: 1.623 MB / 0.7736 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.368e-05/1.162, allocations: 50 kB / 0.7736 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/1.162, allocations: 0 / 0.7736 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01501/1.177, allocations: 4.027 MB / 0.7776 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.177, allocations: 115.4 kB / 0.7777 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/1.178, allocations: 0.6612 MB / 0.7783 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.178, allocations: 44.3 kB / 0.7784 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004507/1.179, allocations: 397.1 kB / 0.7788 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/1.179, allocations: 298.5 kB / 0.779 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/1.18, allocations: 197 kB / 0.7792 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002791/1.18, allocations: 391.8 kB / 0.7796 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.181, allocations: 496.5 kB / 0.7801 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/1.182, allocations: 0.7534 MB / 0.7808 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/1.185, allocations: 1.286 MB / 0.7821 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.185, allocations: 0.7812 kB / 0.7821 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003488/1.188, allocations: 1.669 MB / 0.7837 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.188, allocations: 8.938 kB / 0.7837 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.188, allocations: 8.969 kB / 0.7837 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007388/1.196, allocations: 1.302 MB / 0.785 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/1.196, allocations: 156.8 kB / 0.7851 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00277/1.199, allocations: 1.526 MB / 0.7866 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/1.2, allocations: 55.83 kB / 0.7867 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.201, allocations: 57.2 kB / 0.7867 GB, free: 8.551 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.0007091/1.201, allocations: 293.2 kB / 0.787 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/1.201, allocations: 94.52 kB / 0.7871 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003582/1.205, allocations: 1.668 MB / 0.7887 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.205, allocations: 17.33 kB / 0.7887 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.205, allocations: 0 / 0.7887 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.205, allocations: 9.453 kB / 0.7888 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/1.21, allocations: 2.628 MB / 0.7913 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.21, allocations: 3.281 kB / 0.7913 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/1.212, allocations: 259.6 kB / 0.7916 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/1.213, allocations: 375 kB / 0.7919 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/1.213, allocations: 35.16 kB / 0.792 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002906/1.216, allocations: 2.359 MB / 0.7943 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.216, allocations: 2.562 kB / 0.7943 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/1.22, allocations: 2.032 MB / 0.7963 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007535/1.221, allocations: 294.7 kB / 0.7965 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.221, allocations: 25.17 kB / 0.7966 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008052/1.222, allocations: 57.94 kB / 0.7966 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.222, allocations: 59.58 kB / 0.7967 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.222, allocations: 45.38 kB / 0.7967 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007272/1.223, allocations: 0.501 MB / 0.7972 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.223, allocations: 0 / 0.7972 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002534/1.226, allocations: 0.6723 MB / 0.7979 GB, free: 4.41 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.002317/1.228, allocations: 0.8041 MB / 0.7986 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003273/1.231, allocations: 1.176 MB / 0.7998 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.231, allocations: 4.062 kB / 0.7998 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.233, allocations: 0.6938 MB / 0.8005 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.236, allocations: 0.524 MB / 0.801 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/1.241, allocations: 2.195 MB / 0.8031 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/1.242, allocations: 1.044 MB / 0.8041 GB, free: 60 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001471/1.244, allocations: 370.6 kB / 0.8045 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/1.244, allocations: 91.23 kB / 0.8046 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/1.244, allocations: 0 / 0.8046 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Templates: time 0.06454/1.309, allocations: 35.38 MB / 0.8391 GB, free: 12.6 MB / 0.6231 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/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: 7.64669631794095]