Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001592/0.001592, allocations: 117.1 kB / 19.13 MB, free: 3.941 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.001775/0.001775, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2502/0.2502, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 84.34 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1226, allocations: 62.44 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5603/0.6829, allocations: 194 MB / 0.7298 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.6956, allocations: 7.449 MB / 0.7371 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.6969, allocations: 19.88 kB / 0.7371 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.6988, allocations: 437.4 kB / 0.7375 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007388/0.7062, allocations: 2.347 MB / 0.7398 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006852/0.7131, allocations: 2.313 MB / 0.7421 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003354/0.7164, allocations: 2.196 MB / 0.7442 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.7177, allocations: 0.5984 MB / 0.7448 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004715/0.7224, allocations: 1.834 MB / 0.7466 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.7244, allocations: 0.8605 MB / 0.7475 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.7248, allocations: 92 kB / 0.7475 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01084/0.7356, allocations: 5.241 MB / 0.7527 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.7365, allocations: 422.9 kB / 0.7531 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.7379, allocations: 0.5407 MB / 0.7536 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008977/0.7468, allocations: 3.845 MB / 0.7573 GB, free: 1.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7469, allocations: 4 kB / 0.7574 GB, free: 1.477 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7469, allocations: 3.938 kB / 0.7574 GB, free: 1.473 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.112e-05/0.747, allocations: 3.984 kB / 0.7574 GB, free: 1.469 MB / 0.545 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.005053/0.752, allocations: 1.776 MB / 0.7591 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7521, allocations: 8.031 kB / 0.7591 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005589/0.7526, allocations: 115.3 kB / 0.7592 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.7539, allocations: 0.6213 MB / 0.7598 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.7541, allocations: 121.4 kB / 0.7599 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7542, allocations: 68 kB / 0.76 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.7564, allocations: 1.159 MB / 0.7611 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.7565, allocations: 7.938 kB / 0.7611 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7566, allocations: 31.98 kB / 0.7612 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/0.7567, allocations: 66.91 kB / 0.7612 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.7589, allocations: 1.159 MB / 0.7624 GB, free: 12.18 MB / 0.5606 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.007701/0.7666, allocations: 4.982 MB / 0.7672 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.7685, allocations: 0.8069 MB / 0.768 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.7692, allocations: 426.9 kB / 0.7684 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.7708, allocations: 1.63 MB / 0.77 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.7709, allocations: 43.12 kB / 0.7701 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.775e-06/0.7709, allocations: 0 / 0.7701 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01425/0.7851, allocations: 4.023 MB / 0.774 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7853, allocations: 111.5 kB / 0.7741 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.7864, allocations: 0.6642 MB / 0.7747 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.7866, allocations: 41.7 kB / 0.7748 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.787, allocations: 392.4 kB / 0.7752 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.7874, allocations: 305.4 kB / 0.7754 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.7878, allocations: 202.5 kB / 0.7756 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002752/0.7881, allocations: 390.8 kB / 0.776 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.7892, allocations: 489.7 kB / 0.7765 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.7907, allocations: 0.7562 MB / 0.7772 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.7932, allocations: 1.285 MB / 0.7785 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.7932, allocations: 8 kB / 0.7785 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003845/0.797, allocations: 1.688 MB / 0.7801 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.7971, allocations: 8 kB / 0.7801 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.7971, allocations: 8 kB / 0.7801 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00747/0.8046, allocations: 1.316 MB / 0.7814 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.8053, allocations: 155.7 kB / 0.7816 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.8086, allocations: 1.522 MB / 0.7831 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/0.8095, allocations: 51.97 kB / 0.7831 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.8097, allocations: 51.98 kB / 0.7832 GB, free: 5.793 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.0006243/0.8104, allocations: 300.5 kB / 0.7834 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.8107, allocations: 87.48 kB / 0.7835 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.8144, allocations: 1.681 MB / 0.7852 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.8144, allocations: 12 kB / 0.7852 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.8145, allocations: 3.938 kB / 0.7852 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.8145, allocations: 11.97 kB / 0.7852 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.8195, allocations: 2.624 MB / 0.7878 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.8195, allocations: 0 / 0.7878 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.8209, allocations: 259.7 kB / 0.788 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.8227, allocations: 388.5 kB / 0.7884 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.8229, allocations: 31.97 kB / 0.7884 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.8258, allocations: 2.345 MB / 0.7907 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8258, allocations: 3.938 kB / 0.7907 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.8301, allocations: 2.029 MB / 0.7927 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006691/0.8307, allocations: 300.3 kB / 0.793 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.831, allocations: 24 kB / 0.793 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.8319, allocations: 59.94 kB / 0.7931 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.8321, allocations: 56.92 kB / 0.7931 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.8322, allocations: 47.91 kB / 0.7932 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007973/0.833, allocations: 0.499 MB / 0.7936 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.833, allocations: 4 kB / 0.7936 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002254/0.8353, allocations: 0.6974 MB / 0.7943 GB, free: 10.02 MB / 0.5919 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.002537/0.8379, allocations: 0.8166 MB / 0.7951 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.841, allocations: 1.252 MB / 0.7963 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.841, allocations: 0 / 0.7963 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.8429, allocations: 0.7056 MB / 0.797 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.8458, allocations: 0.5233 MB / 0.7975 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.8511, allocations: 2.224 MB / 0.7997 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.852, allocations: 1.039 MB / 0.8007 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.8524, allocations: 99.41 kB / 0.8008 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/0.8524, allocations: 0 / 0.8008 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of Templates: time 0.04413/0.8965, allocations: 28.68 MB / 0.8288 GB, free: 6.684 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Xi[1],volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.Xi[1],volume.medium.p [Calling sys.exit(0), Time elapsed: 13.120389785035513]