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.001662/0.001662, allocations: 102.4 kB / 21.93 MB, free: 5.203 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.001811/0.001811, allocations: 203.2 kB / 25.22 MB, free: 3.141 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.558/1.558, allocations: 207.7 MB / 236.1 MB, free: 9.785 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.001873/0.001873, allocations: 59.92 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2809, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05559/0.3365, allocations: 45.57 MB / 443.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006861/0.3434, allocations: 4.689 MB / 447.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.3437, allocations: 7.938 kB / 447.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.3446, allocations: 234.6 kB / 448.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007971/0.3454, allocations: 373.9 kB / 448.5 MB, free: 196 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01992/0.3653, allocations: 6.787 MB / 455.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3668, allocations: 1.103 MB / 456.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.3671, allocations: 101.8 kB / 456.5 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006831/0.3739, allocations: 3.603 MB / 460.1 MB, free: 4.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007057/0.3746, allocations: 398.5 kB / 460.5 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3747, allocations: 56 kB / 460.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.3933, allocations: 9.182 MB / 469.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.3937, allocations: 227.4 kB / 469.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.3942, allocations: 271.1 kB / 470.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0145/0.4087, allocations: 5.413 MB / 475.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.4087, allocations: 4 kB / 475.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4087, allocations: 0 / 475.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4087, allocations: 0 / 475.6 MB, free: 5.016 MB / 382.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.003525/0.4122, allocations: 1.308 MB / 476.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4123, allocations: 15.98 kB / 476.9 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.4126, allocations: 63.7 kB / 477 MB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.4132, allocations: 308.1 kB / 477.3 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.941e-05/0.4132, allocations: 40.98 kB / 477.3 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.4133, allocations: 43.95 kB / 477.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.4147, allocations: 0.8855 MB / 478.2 MB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.4148, allocations: 3.984 kB / 478.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.4148, allocations: 24 kB / 478.3 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4148, allocations: 8 kB / 478.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.4162, allocations: 0.7417 MB / 479 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.4339, allocations: 3.585 MB / 482.6 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.4359, allocations: 0.5045 MB / 483.1 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006005/0.4365, allocations: 242 kB / 483.3 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/0.4518, allocations: 2.577 MB / 485.9 MB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/0.4519, allocations: 46.94 kB / 486 MB, free: 10.43 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 3.727e-06/0.4519, allocations: 0 / 486 MB, free: 10.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=55): time 0.00786/0.4597, allocations: 1.886 MB / 487.9 MB, free: 8.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.4598, allocations: 55.91 kB / 487.9 MB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.4601, allocations: 268.8 kB / 488.2 MB, free: 8.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.4602, allocations: 49.62 kB / 488.2 MB, free: 8.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.4603, allocations: 201.3 kB / 488.4 MB, free: 7.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4605, allocations: 202.3 kB / 488.6 MB, free: 7.707 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4607, allocations: 118.3 kB / 488.7 MB, free: 7.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4608, allocations: 342.8 kB / 489.1 MB, free: 7.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.4612, allocations: 237.2 kB / 489.3 MB, free: 7.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.4619, allocations: 344.2 kB / 489.6 MB, free: 6.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.4631, allocations: 0.5956 MB / 490.2 MB, free: 6.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4631, allocations: 4 kB / 490.2 MB, free: 6.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001822/0.4649, allocations: 0.7444 MB / 491 MB, free: 5.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.4649, allocations: 12.03 kB / 491 MB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.465, allocations: 0 / 491 MB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.4655, allocations: 110.4 kB / 491.1 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.466, allocations: 131.8 kB / 491.2 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.4687, allocations: 3.212 MB / 494.4 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.469, allocations: 16.03 kB / 494.5 MB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.4691, allocations: 27.98 kB / 494.5 MB, free: 1.5 MB / 398.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.000312/0.4694, allocations: 197.8 kB / 494.7 MB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.4697, allocations: 55.7 kB / 494.7 MB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.4713, allocations: 0.8073 MB / 495.5 MB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4713, allocations: 4 kB / 495.5 MB, free: 416 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4713, allocations: 0 / 495.5 MB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00118/0.4725, allocations: 0.7675 MB / 496.3 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4745, allocations: 1.114 MB / 497.4 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4745, allocations: 4 kB / 497.4 MB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.475, allocations: 107.8 kB / 497.5 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/0.4759, allocations: 152.6 kB / 497.7 MB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.4759, allocations: 19.98 kB / 497.7 MB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004688/0.4764, allocations: 0.6485 MB / 498.3 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4764, allocations: 0 / 498.3 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.4781, allocations: 0.9015 MB / 499.2 MB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4782, allocations: 39.8 kB / 499.3 MB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.4783, allocations: 15.94 kB / 499.3 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.4786, allocations: 19.98 kB / 499.3 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.4787, allocations: 32.38 kB / 499.4 MB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.359e-05/0.4788, allocations: 31.97 kB / 499.4 MB, free: 12.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002388/0.479, allocations: 212.4 kB / 499.6 MB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.479, allocations: 4.094 kB / 499.6 MB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004318/0.4833, allocations: 1.317 MB / 0.4892 GB, free: 10.86 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.005691/0.489, allocations: 1.729 MB / 0.4909 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.4907, allocations: 0.7763 MB / 0.4916 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.4907, allocations: 0 / 0.4916 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/0.4913, allocations: 279.9 kB / 0.4919 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4925, allocations: 228.8 kB / 0.4921 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4945, allocations: 1.129 MB / 0.4932 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.4947, allocations: 233.4 kB / 0.4934 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.4949, allocations: 75.39 kB / 0.4935 GB, free: 6.324 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4949, allocations: 0 / 0.4935 GB, free: 6.324 MB / 414.1 MB Notification: Performance of Templates: time 0.05334/0.5483, allocations: 34.69 MB / 0.5274 GB, free: 3.562 MB / 446.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.865202544722706]