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.001409/0.001409, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001551/0.001551, allocations: 211 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001805/0.001805, allocations: 47.91 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2567, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06053/0.3173, allocations: 45.52 MB / 477.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.3245, allocations: 4.709 MB / 482.6 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.3249, allocations: 4 kB / 482.6 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009175/0.3258, allocations: 238.6 kB / 482.8 MB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009276/0.3267, allocations: 370 kB / 483.2 MB, free: 3.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01923/0.346, allocations: 7.121 MB / 490.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001804/0.3478, allocations: 1.107 MB / 491.4 MB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.348, allocations: 90.69 kB / 491.5 MB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006714/0.3548, allocations: 3.607 MB / 495.1 MB, free: 7.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006912/0.3555, allocations: 402.5 kB / 495.5 MB, free: 7.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3556, allocations: 60 kB / 495.5 MB, free: 7.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0177/0.3733, allocations: 9.325 MB / 0.493 GB, free: 14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.3736, allocations: 235.4 kB / 0.4933 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.3741, allocations: 267.2 kB / 0.4935 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.3866, allocations: 5.456 MB / 0.4988 GB, free: 8.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3866, allocations: 0 / 0.4988 GB, free: 8.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3866, allocations: 0 / 0.4988 GB, free: 8.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.3866, allocations: 0 / 0.4988 GB, free: 8.035 MB / 414.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.00352/0.3902, allocations: 1.326 MB / 0.5001 GB, free: 6.676 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3902, allocations: 16.03 kB / 0.5001 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.3906, allocations: 59.7 kB / 0.5002 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.3912, allocations: 304.4 kB / 0.5005 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.3912, allocations: 37 kB / 0.5005 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-05/0.3913, allocations: 40 kB / 0.5006 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.3928, allocations: 0.8893 MB / 0.5014 GB, free: 5.234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3928, allocations: 4 kB / 0.5014 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-05/0.3929, allocations: 27.98 kB / 0.5015 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.3929, allocations: 11.94 kB / 0.5015 GB, free: 5.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3943, allocations: 0.7339 MB / 0.5022 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.4072, allocations: 3.588 MB / 0.5057 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.4085, allocations: 0.5012 MB / 0.5062 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/0.4089, allocations: 238.1 kB / 0.5064 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.4196, allocations: 2.553 MB / 0.5089 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.4197, allocations: 50.98 kB / 0.509 GB, free: 13.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 5.08e-06/0.4197, allocations: 3.984 kB / 0.509 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006/0.4257, allocations: 1.89 MB / 0.5108 GB, free: 11.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.4257, allocations: 59.84 kB / 0.5109 GB, free: 11.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.4261, allocations: 264.8 kB / 0.5111 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.4261, allocations: 37.7 kB / 0.5112 GB, free: 11.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4263, allocations: 213.2 kB / 0.5114 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.4265, allocations: 202.3 kB / 0.5115 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.4267, allocations: 118.3 kB / 0.5117 GB, free: 10.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4268, allocations: 346.7 kB / 0.512 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.4273, allocations: 237.2 kB / 0.5122 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/0.428, allocations: 344.2 kB / 0.5125 GB, free: 9.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.4292, allocations: 0.5995 MB / 0.5131 GB, free: 9.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4292, allocations: 4 kB / 0.5131 GB, free: 9.043 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001975/0.4312, allocations: 0.7442 MB / 0.5139 GB, free: 8.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4312, allocations: 8 kB / 0.5139 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4312, allocations: 3.938 kB / 0.5139 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005138/0.4317, allocations: 110.7 kB / 0.514 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.4323, allocations: 123.8 kB / 0.5141 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.4352, allocations: 3.22 MB / 0.5172 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.4355, allocations: 16.03 kB / 0.5173 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.4356, allocations: 35.98 kB / 0.5173 GB, free: 4.531 MB / 430.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.0003125/0.4359, allocations: 181.7 kB / 0.5175 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.4362, allocations: 47.7 kB / 0.5175 GB, free: 4.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/0.4379, allocations: 0.8192 MB / 0.5183 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.4379, allocations: 4 kB / 0.5183 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4379, allocations: 4 kB / 0.5183 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.4392, allocations: 0.7674 MB / 0.5191 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.4414, allocations: 1.118 MB / 0.5202 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.4414, allocations: 4 kB / 0.5202 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.4419, allocations: 99.88 kB / 0.5203 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009474/0.4428, allocations: 152.7 kB / 0.5204 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.4429, allocations: 16 kB / 0.5204 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004943/0.4434, allocations: 0.6484 MB / 0.5211 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4434, allocations: 4.094 kB / 0.5211 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.4458, allocations: 0.9053 MB / 0.5219 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4459, allocations: 27.81 kB / 0.522 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.446, allocations: 19.97 kB / 0.522 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/0.4465, allocations: 19.98 kB / 0.522 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4466, allocations: 36.31 kB / 0.522 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.4467, allocations: 27.98 kB / 0.5221 GB, free: 15.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003805/0.4471, allocations: 220.4 kB / 0.5223 GB, free: 15.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4471, allocations: 0 / 0.5223 GB, free: 15.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005159/0.4523, allocations: 1.333 MB / 0.5236 GB, free: 13.88 MB / 446.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.008033/0.4603, allocations: 1.694 MB / 0.5252 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002445/0.4627, allocations: 0.7766 MB / 0.526 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.4627, allocations: 4 kB / 0.526 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.4637, allocations: 291.1 kB / 0.5263 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.4655, allocations: 217 kB / 0.5265 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.4684, allocations: 1.142 MB / 0.5276 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4688, allocations: 233.4 kB / 0.5278 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.4692, allocations: 67.41 kB / 0.5279 GB, free: 9.367 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4692, allocations: 0 / 0.5279 GB, free: 9.367 MB / 446.1 MB Notification: Performance of Templates: time 0.2379/0.7071, allocations: 33.73 MB / 0.5608 GB, free: 89.63 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/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: 15.68891391903162]