Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001792/0.001792, allocations: 120.2 kB / 21.94 MB, free: 4 kB / 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.002082/0.002082, allocations: 202.8 kB / 25.24 MB, free: 3.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 51.92 kB / 348.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2967, allocations: 49.17 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05978/0.3565, allocations: 51.2 MB / 448.8 MB, free: 60 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0071/0.3636, allocations: 5.242 MB / 454.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.3639, allocations: 7.938 kB / 454.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008696/0.3648, allocations: 262.5 kB / 454.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.3655, allocations: 370 kB / 454.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02112/0.3866, allocations: 6.824 MB / 461.5 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.3883, allocations: 1.107 MB / 462.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.3885, allocations: 105.8 kB / 462.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007071/0.3956, allocations: 3.607 MB / 466.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.3963, allocations: 430.6 kB / 466.7 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.3964, allocations: 59.94 kB / 466.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02047/0.4169, allocations: 10.04 MB / 476.8 MB, free: 3.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003913/0.4172, allocations: 223.5 kB / 477.1 MB, free: 3.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.4177, allocations: 310.9 kB / 477.4 MB, free: 3.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.433, allocations: 5.495 MB / 482.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.433, allocations: 0 / 482.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.433, allocations: 0 / 482.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.433, allocations: 0 / 482.9 MB, free: 13.94 MB / 398.1 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.003849/0.4369, allocations: 1.323 MB / 484.2 MB, free: 12.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4369, allocations: 11.98 kB / 484.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.4373, allocations: 67.7 kB / 484.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.4379, allocations: 312.1 kB / 484.6 MB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.4379, allocations: 33 kB / 484.6 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.438, allocations: 47.95 kB / 484.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.4393, allocations: 0.5843 MB / 485.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4394, allocations: 0 / 485.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.4394, allocations: 28 kB / 485.3 MB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4394, allocations: 11.98 kB / 485.3 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.4408, allocations: 0.7495 MB / 486 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4545, allocations: 4.169 MB / 490.2 MB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4559, allocations: 0.508 MB / 490.7 MB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.4563, allocations: 246 kB / 490.9 MB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01078/0.4671, allocations: 2.557 MB / 493.5 MB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.4672, allocations: 39 kB / 493.5 MB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.485e-06/0.4672, allocations: 4 kB / 493.5 MB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.006102/0.4733, allocations: 1.897 MB / 495.4 MB, free: 1.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4733, allocations: 59.91 kB / 495.5 MB, free: 1.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.4738, allocations: 316.2 kB / 495.8 MB, free: 0.6992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.956e-05/0.4738, allocations: 37.7 kB / 495.8 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.474, allocations: 212.7 kB / 496 MB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.4742, allocations: 198.3 kB / 496.2 MB, free: 256 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.4744, allocations: 114.3 kB / 496.3 MB, free: 132 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4746, allocations: 346.8 kB / 496.7 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.475, allocations: 237.1 kB / 496.9 MB, free: 15.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.4757, allocations: 348.3 kB / 497.3 MB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.4769, allocations: 0.5917 MB / 497.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4769, allocations: 0 / 497.8 MB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001901/0.4788, allocations: 0.7559 MB / 498.6 MB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4788, allocations: 7.938 kB / 498.6 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4788, allocations: 4 kB / 498.6 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/0.4793, allocations: 110.7 kB / 498.7 MB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.4798, allocations: 123.9 kB / 498.8 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.4828, allocations: 3.265 MB / 0.4903 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4831, allocations: 12 kB / 0.4904 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.4832, allocations: 35.98 kB / 0.4904 GB, free: 9.965 MB / 414.1 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.0003208/0.4835, allocations: 201.6 kB / 0.4906 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.4838, allocations: 47.72 kB / 0.4906 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.4854, allocations: 0.8114 MB / 0.4914 GB, free: 8.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4854, allocations: 7.938 kB / 0.4914 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4854, allocations: 0 / 0.4914 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.4866, allocations: 0.7674 MB / 0.4922 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.4889, allocations: 1.269 MB / 0.4934 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4889, allocations: 3.938 kB / 0.4934 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.4893, allocations: 99.88 kB / 0.4935 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00091/0.4902, allocations: 148.7 kB / 0.4937 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.4903, allocations: 19.98 kB / 0.4937 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000477/0.4908, allocations: 0.6446 MB / 0.4943 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4908, allocations: 3.938 kB / 0.4943 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.4925, allocations: 0.9053 MB / 0.4952 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.4926, allocations: 35.84 kB / 0.4952 GB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.403e-05/0.4927, allocations: 15.98 kB / 0.4952 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.4931, allocations: 24.08 kB / 0.4953 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4931, allocations: 36.38 kB / 0.4953 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.4932, allocations: 23.98 kB / 0.4953 GB, free: 4.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003114/0.4935, allocations: 259 kB / 0.4956 GB, free: 4.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4935, allocations: 0 / 0.4956 GB, free: 4.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004029/0.4975, allocations: 1.317 MB / 0.4969 GB, free: 3.105 MB / 414.1 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.006606/0.5042, allocations: 1.737 MB / 0.4985 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.5059, allocations: 0.7805 MB / 0.4993 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5059, allocations: 0 / 0.4993 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005718/0.5064, allocations: 283.2 kB / 0.4996 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5078, allocations: 269.3 kB / 0.4998 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5101, allocations: 1.157 MB / 0.501 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.5106, allocations: 0.8326 MB / 0.5018 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.5108, allocations: 71.41 kB / 0.5018 GB, free: 13.88 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5108, allocations: 0 / 0.5018 GB, free: 13.88 MB / 430.1 MB Notification: Performance of Templates: time 0.05535/0.5662, allocations: 35.11 MB / 0.5361 GB, free: 10.7 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.847981244092807]