Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002014/0.002014, allocations: 107.1 kB / 20.44 MB, free: 1.184 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.002486/0.002486, allocations: 206.9 kB / 23.73 MB, free: 4.395 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 46.95 MB / 360.9 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 60.03 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3911, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.229/0.6201, allocations: 168.7 MB / 0.7259 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.6311, allocations: 6.823 MB / 0.7325 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007468/0.6318, allocations: 27.75 kB / 0.7326 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.6332, allocations: 409.6 kB / 0.7329 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006549/0.6397, allocations: 2.407 MB / 0.7353 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3602/0.9999, allocations: 2.356 MB / 0.7376 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003729/1.004, allocations: 2.219 MB / 0.7398 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009651/1.005, allocations: 0.5084 MB / 0.7403 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/1.009, allocations: 1.886 MB / 0.7421 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/1.011, allocations: 0.9143 MB / 0.743 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/1.011, allocations: 98.12 kB / 0.7431 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007666/1.019, allocations: 4.399 MB / 0.7474 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008295/1.02, allocations: 442.8 kB / 0.7478 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009087/1.021, allocations: 469.6 kB / 0.7483 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008851/1.029, allocations: 3.672 MB / 0.7518 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.178e-06/1.029, allocations: 3.562 kB / 0.7518 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.444e-06/1.029, allocations: 1.094 kB / 0.7518 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.578e-05/1.03, allocations: 0 / 0.7518 GB, free: 3.004 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.00572/1.035, allocations: 1.698 MB / 0.7535 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.035, allocations: 9.531 kB / 0.7535 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/1.036, allocations: 117.5 kB / 0.7536 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.038, allocations: 0.5579 MB / 0.7542 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.038, allocations: 174.3 kB / 0.7543 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/1.038, allocations: 70.28 kB / 0.7544 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/1.041, allocations: 1.567 MB / 0.7559 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/1.041, allocations: 3.953 kB / 0.7559 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/1.041, allocations: 33.73 kB / 0.756 GB, free: 17.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.041, allocations: 62.09 kB / 0.756 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/1.044, allocations: 1.155 MB / 0.7572 GB, free: 17.07 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.008747/1.053, allocations: 3.675 MB / 0.7607 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/1.055, allocations: 0.7838 MB / 0.7615 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/1.056, allocations: 413.4 kB / 0.7619 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008562/1.057, allocations: 208.5 kB / 0.7621 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.057, allocations: 46.53 kB / 0.7622 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 4.439e-06/1.057, allocations: 3.312 kB / 0.7622 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.02176/1.078, allocations: 3.933 MB / 0.766 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.079, allocations: 112.6 kB / 0.7661 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/1.08, allocations: 0.5404 MB / 0.7666 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/1.08, allocations: 41.58 kB / 0.7667 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/1.08, allocations: 413.3 kB / 0.7671 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/1.08, allocations: 309.4 kB / 0.7674 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/1.081, allocations: 192.9 kB / 0.7675 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003045/1.081, allocations: 378.2 kB / 0.7679 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/1.083, allocations: 493.4 kB / 0.7684 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.085, allocations: 0.8113 MB / 0.7692 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/1.088, allocations: 1.281 MB / 0.7704 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.088, allocations: 2.969 kB / 0.7704 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005668/1.094, allocations: 1.649 MB / 0.772 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/1.094, allocations: 10.8 kB / 0.772 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/1.094, allocations: 15.47 kB / 0.7721 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/1.106, allocations: 1.3 MB / 0.7733 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/1.107, allocations: 157.6 kB / 0.7735 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/1.112, allocations: 1.527 MB / 0.775 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.113, allocations: 59.02 kB / 0.775 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.113, allocations: 55.02 kB / 0.7751 GB, free: 12.82 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.0007592/1.114, allocations: 297.5 kB / 0.7754 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/1.114, allocations: 78.84 kB / 0.7754 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/1.118, allocations: 1.659 MB / 0.7771 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.118, allocations: 12.09 kB / 0.7771 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.118, allocations: 3 kB / 0.7771 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.118, allocations: 3.734 kB / 0.7771 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/1.122, allocations: 2.286 MB / 0.7793 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.122, allocations: 3.188 kB / 0.7793 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/1.123, allocations: 260 kB / 0.7796 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/1.125, allocations: 375.9 kB / 0.7799 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/1.125, allocations: 38.97 kB / 0.78 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/1.127, allocations: 2.222 MB / 0.7821 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/1.127, allocations: 6.812 kB / 0.7821 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/1.131, allocations: 2.021 MB / 0.7841 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/1.131, allocations: 202.1 kB / 0.7843 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.132, allocations: 24.03 kB / 0.7843 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/1.132, allocations: 56.08 kB / 0.7844 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.133, allocations: 72.52 kB / 0.7844 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/1.133, allocations: 44.81 kB / 0.7845 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004562/1.133, allocations: 391.5 kB / 0.7849 GB, free: 10 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.133, allocations: 0 / 0.7849 GB, free: 10 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001885/1.135, allocations: 0.6893 MB / 0.7855 GB, free: 9.891 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.00166/1.137, allocations: 0.8093 MB / 0.7863 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002491/1.139, allocations: 1.183 MB / 0.7875 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/1.139, allocations: 0 / 0.7875 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.141, allocations: 0.6946 MB / 0.7882 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.143, allocations: 437.6 kB / 0.7886 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/1.147, allocations: 2.161 MB / 0.7907 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/1.148, allocations: 463.4 kB / 0.7911 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009151/1.149, allocations: 340.8 kB / 0.7914 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/1.149, allocations: 88.33 kB / 0.7915 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/1.149, allocations: 0 / 0.7915 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of Templates: time 0.05436/1.203, allocations: 33.02 MB / 0.8238 GB, free: 0.8359 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.734939296729863]