Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0007819/0.0007819, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003268/0.003268, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8748/0.8748, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.641e-05, allocations: 2.281 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.032/0.03201, allocations: 45.43 MB / 371.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.03588, allocations: 4.708 MB / 376 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.03602, allocations: 7.938 kB / 376 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.03658, allocations: 230.5 kB / 376.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004187/0.037, allocations: 389.4 kB / 376.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.04874, allocations: 7.197 MB / 383.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008152/0.04956, allocations: 1.106 MB / 384.9 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.04973, allocations: 101.8 kB / 385 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.05322, allocations: 3.771 MB / 388.8 MB, free: 164 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.05357, allocations: 375.1 kB / 389.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.388e-05/0.05363, allocations: 56 kB / 389.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.06366, allocations: 9.356 MB / 398.5 MB, free: 6.363 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.06383, allocations: 239.4 kB / 398.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.064, allocations: 239.5 kB / 399 MB, free: 5.895 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.07173, allocations: 6.704 MB / 405.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.07173, allocations: 0 / 405.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.07173, allocations: 0 / 405.7 MB, free: 15.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.07174, allocations: 4 kB / 405.7 MB, free: 15.17 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001751/0.07349, allocations: 1.319 MB / 407 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.07353, allocations: 8.031 kB / 407 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.07373, allocations: 63.66 kB / 407.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.07408, allocations: 309 kB / 407.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.0741, allocations: 33 kB / 407.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.07415, allocations: 40 kB / 407.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.07498, allocations: 0.8933 MB / 408.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.075, allocations: 0 / 408.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.07504, allocations: 20 kB / 408.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.07505, allocations: 16 kB / 408.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.07582, allocations: 0.7378 MB / 409.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005936/0.08176, allocations: 3.569 MB / 412.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.0825, allocations: 0.5057 MB / 413.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.08273, allocations: 246.2 kB / 413.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00438/0.08711, allocations: 2.553 MB / 416 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.08714, allocations: 46.94 kB / 416.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.773e-06/0.08714, allocations: 0 / 416.1 MB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003057/0.0902, allocations: 1.885 MB / 417.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.09023, allocations: 59.91 kB / 418 MB, free: 2.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.09066, allocations: 277.6 kB / 418.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.0907, allocations: 37.7 kB / 418.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.09078, allocations: 205.3 kB / 418.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.78e-05/0.09087, allocations: 198.3 kB / 418.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.09098, allocations: 114.3 kB / 418.8 MB, free: 1.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.09106, allocations: 338.8 kB / 419.1 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.0913, allocations: 241.2 kB / 419.4 MB, free: 1.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.09167, allocations: 344.3 kB / 419.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.09235, allocations: 0.6046 MB / 420.3 MB, free: 224 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.09235, allocations: 0 / 420.3 MB, free: 224 kB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001003/0.09336, allocations: 0.7458 MB / 421.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.09337, allocations: 8 kB / 421.1 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.09338, allocations: 3.984 kB / 421.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.09364, allocations: 106.5 kB / 421.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.0939, allocations: 127.8 kB / 421.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.09535, allocations: 3.224 MB / 424.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.09547, allocations: 12 kB / 424.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.09551, allocations: 31.98 kB / 424.6 MB, free: 11.71 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.09567, allocations: 198 kB / 424.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.09581, allocations: 39.81 kB / 424.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.09695, allocations: 0.8165 MB / 425.6 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.09695, allocations: 8 kB / 425.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.09695, allocations: 0 / 425.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006482/0.0976, allocations: 0.7572 MB / 426.4 MB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.09874, allocations: 1.135 MB / 427.5 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.09875, allocations: 4.062 kB / 427.5 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.09896, allocations: 99.89 kB / 427.6 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.09939, allocations: 152.6 kB / 427.8 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.09941, allocations: 19.98 kB / 427.8 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002317/0.09964, allocations: 0.6445 MB / 428.4 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.09965, allocations: 3.938 kB / 428.4 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000949/0.1006, allocations: 0.8995 MB / 429.3 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1006, allocations: 35.84 kB / 429.4 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1007, allocations: 12 kB / 429.4 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1008, allocations: 19.98 kB / 429.4 MB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.1009, allocations: 36.47 kB / 429.4 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.1009, allocations: 35.97 kB / 429.5 MB, free: 6.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1011, allocations: 217.2 kB / 429.7 MB, free: 6.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1011, allocations: 0 / 429.7 MB, free: 6.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002524/0.1036, allocations: 1.337 MB / 431 MB, free: 5.043 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003504/0.1071, allocations: 1.858 MB / 432.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.108, allocations: 0.7775 MB / 433.7 MB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.108, allocations: 4 kB / 433.7 MB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1083, allocations: 280.3 kB / 433.9 MB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.1089, allocations: 227.6 kB / 434.2 MB, free: 1.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.1101, allocations: 1.047 MB / 435.2 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1102, allocations: 229.4 kB / 435.4 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1103, allocations: 76.41 kB / 435.5 MB, free: 468 kB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1103, allocations: 0 / 435.5 MB, free: 468 kB / 394.7 MB Notification: Performance of Templates: time 0.1487/0.2591, allocations: 34.03 MB / 469.5 MB, free: 106 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 10.388818754814565]