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.001903/0.001903, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001878/0.001878, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.598/1.598, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.3511/0.3511, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 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.p|volume.medium.Xi.1.|volume.medium.T",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.p|volume.medium.Xi.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.436e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3859/0.386, allocations: 187.7 MB / 0.5517 GB, free: 6.684 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3982, allocations: 7.565 MB / 0.5591 GB, free: 15.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006705/0.3989, allocations: 31.75 kB / 0.5591 GB, free: 15.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.4002, allocations: 417.4 kB / 0.5595 GB, free: 15.54 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00657/0.4068, allocations: 2.46 MB / 0.5619 GB, free: 13.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006828/0.4136, allocations: 2.405 MB / 0.5643 GB, free: 10.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.4169, allocations: 2.231 MB / 0.5665 GB, free: 8.418 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.418, allocations: 0.5449 MB / 0.567 GB, free: 7.859 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/0.4229, allocations: 2.157 MB / 0.5691 GB, free: 5.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.4247, allocations: 0.8417 MB / 0.5699 GB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.4249, allocations: 99.98 kB / 0.57 GB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009026/0.4339, allocations: 4.299 MB / 0.5742 GB, free: 456 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.4347, allocations: 466.8 kB / 0.5747 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.4355, allocations: 407.2 kB / 0.5751 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009719/0.4452, allocations: 4.129 MB / 0.5791 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4452, allocations: 0 / 0.5791 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4452, allocations: 0 / 0.5791 GB, free: 11.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.4452, allocations: 0 / 0.5791 GB, free: 11.45 MB / 458.7 MB 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.00483/0.4501, allocations: 1.851 MB / 0.5809 GB, free: 9.555 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4501, allocations: 16.03 kB / 0.5809 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.4507, allocations: 199 kB / 0.5811 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.452, allocations: 0.5625 MB / 0.5817 GB, free: 8.754 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.4522, allocations: 168.8 kB / 0.5818 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.4524, allocations: 79.98 kB / 0.5819 GB, free: 8.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4545, allocations: 1.369 MB / 0.5832 GB, free: 6.941 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.4545, allocations: 3.938 kB / 0.5832 GB, free: 6.938 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.4546, allocations: 36 kB / 0.5833 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.875e-05/0.4547, allocations: 57.97 kB / 0.5833 GB, free: 6.844 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.4564, allocations: 0.761 MB / 0.5841 GB, free: 6.082 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007531/0.4639, allocations: 4.207 MB / 0.5882 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.4656, allocations: 0.6068 MB / 0.5888 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.4661, allocations: 272.2 kB / 0.589 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.4669, allocations: 224.5 kB / 0.5892 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.4669, allocations: 42.05 kB / 0.5893 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/0.4669, allocations: 0 / 0.5893 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.01151/0.4784, allocations: 2.978 MB / 0.5922 GB, free: 13.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4785, allocations: 115.5 kB / 0.5923 GB, free: 13.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4796, allocations: 0.6469 MB / 0.5929 GB, free: 12.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.4797, allocations: 45.7 kB / 0.593 GB, free: 12.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.4801, allocations: 475 kB / 0.5934 GB, free: 12.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.4805, allocations: 333.4 kB / 0.5937 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.4809, allocations: 232.2 kB / 0.594 GB, free: 11.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/0.4814, allocations: 0.6016 MB / 0.5946 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.4823, allocations: 321.8 kB / 0.5949 GB, free: 10.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00129/0.4836, allocations: 0.7582 MB / 0.5956 GB, free: 9.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.486, allocations: 1.093 MB / 0.5967 GB, free: 8.645 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.486, allocations: 4 kB / 0.5967 GB, free: 8.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00375/0.4898, allocations: 1.297 MB / 0.5979 GB, free: 7.332 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.4898, allocations: 15.97 kB / 0.598 GB, free: 7.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4898, allocations: 11.94 kB / 0.598 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007165/0.497, allocations: 1.071 MB / 0.599 GB, free: 6.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.4978, allocations: 159.7 kB / 0.5992 GB, free: 6.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.5005, allocations: 1.496 MB / 0.6006 GB, free: 4.547 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/0.5014, allocations: 43.97 kB / 0.6007 GB, free: 4.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5015, allocations: 51.98 kB / 0.6007 GB, free: 4.453 MB / 474.7 MB 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.0005081/0.502, allocations: 272.2 kB / 0.601 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.5023, allocations: 103.5 kB / 0.6011 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/0.5057, allocations: 1.439 MB / 0.6025 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.5057, allocations: 8 kB / 0.6025 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5057, allocations: 0 / 0.6025 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.5057, allocations: 3.984 kB / 0.6025 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.5102, allocations: 2.055 MB / 0.6045 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5102, allocations: 0 / 0.6045 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.5116, allocations: 255.9 kB / 0.6047 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.5133, allocations: 307.3 kB / 0.605 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002071/0.5135, allocations: 35.92 kB / 0.6051 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003019/0.5165, allocations: 2.883 MB / 0.6079 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.5165, allocations: 7.938 kB / 0.6079 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.5201, allocations: 1.569 MB / 0.6094 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.5207, allocations: 195.3 kB / 0.6096 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.5208, allocations: 28 kB / 0.6096 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007372/0.5216, allocations: 43.91 kB / 0.6097 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.5217, allocations: 68.81 kB / 0.6097 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.5219, allocations: 43.97 kB / 0.6098 GB, free: 10.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005741/0.5224, allocations: 414.8 kB / 0.6102 GB, free: 10.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5224, allocations: 0 / 0.6102 GB, free: 10.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002095/0.5245, allocations: 0.6935 MB / 0.6109 GB, free: 9.773 MB / 490.7 MB 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.001986/0.5265, allocations: 0.8603 MB / 0.6117 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002559/0.5291, allocations: 0.9405 MB / 0.6126 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5291, allocations: 4 kB / 0.6126 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.5308, allocations: 0.5666 MB / 0.6132 GB, free: 7.395 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.533, allocations: 459.7 kB / 0.6136 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.5375, allocations: 1.887 MB / 0.6155 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/0.5381, allocations: 435.2 kB / 0.6159 GB, free: 4.566 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001036/0.5391, allocations: 311.4 kB / 0.6162 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.5394, allocations: 88.47 kB / 0.6163 GB, free: 4.184 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5394, allocations: 0 / 0.6163 GB, free: 4.184 MB / 490.7 MB Notification: Performance of Templates: time 0.1916/0.7309, allocations: 31.49 MB / 0.647 GB, free: 173.7 MB / 490.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.0872983450535685]