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.001593/0.001593, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002156/0.002156, allocations: 214.7 kB / 24.48 MB, free: 3.941 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 2.006/2.006, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001912/0.001912, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3379, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.07447/0.4124, allocations: 45.52 MB / 477.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008293/0.4207, allocations: 4.705 MB / 482.6 MB, free: 4.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.421, allocations: 7.938 kB / 482.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008788/0.4218, allocations: 234.6 kB / 482.8 MB, free: 4.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008693/0.4227, allocations: 373.9 kB / 483.2 MB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02231/0.445, allocations: 7.135 MB / 490.3 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.4468, allocations: 1.107 MB / 491.4 MB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.4471, allocations: 98.67 kB / 491.5 MB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.4553, allocations: 3.603 MB / 495.1 MB, free: 7.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.4561, allocations: 434.5 kB / 495.5 MB, free: 7.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.4563, allocations: 56 kB / 495.6 MB, free: 7.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02254/0.4788, allocations: 9.641 MB / 0.4934 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.4793, allocations: 235.4 kB / 0.4936 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005178/0.4798, allocations: 267.1 kB / 0.4939 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02693/0.5067, allocations: 5.452 MB / 0.4992 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5067, allocations: 4 kB / 0.4992 GB, free: 7.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5067, allocations: 0 / 0.4992 GB, free: 7.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.5067, allocations: 0 / 0.4992 GB, free: 7.668 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.004093/0.5108, allocations: 1.327 MB / 0.5005 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5109, allocations: 8.031 kB / 0.5005 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.5113, allocations: 63.7 kB / 0.5006 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006835/0.512, allocations: 296.4 kB / 0.5008 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.5121, allocations: 33 kB / 0.5009 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.583e-05/0.5122, allocations: 43.94 kB / 0.5009 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.5141, allocations: 0.901 MB / 0.5018 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.5141, allocations: 0 / 0.5018 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.5142, allocations: 20 kB / 0.5018 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.5142, allocations: 12 kB / 0.5018 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5161, allocations: 0.7378 MB / 0.5025 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.5341, allocations: 3.584 MB / 0.506 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.5358, allocations: 0.5028 MB / 0.5065 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/0.5363, allocations: 242 kB / 0.5068 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01411/0.5504, allocations: 2.557 MB / 0.5093 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/0.5505, allocations: 39 kB / 0.5093 GB, free: 13.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 4.068e-06/0.5505, allocations: 0 / 0.5093 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.008389/0.5589, allocations: 1.897 MB / 0.5111 GB, free: 11.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.559, allocations: 67.89 kB / 0.5112 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.5594, allocations: 264.8 kB / 0.5115 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.5595, allocations: 33.7 kB / 0.5115 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.5597, allocations: 217.2 kB / 0.5117 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.5599, allocations: 198.3 kB / 0.5119 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.5602, allocations: 114.3 kB / 0.512 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5604, allocations: 338.8 kB / 0.5123 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.5609, allocations: 245.2 kB / 0.5126 GB, free: 9.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.5618, allocations: 340.3 kB / 0.5129 GB, free: 9.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.5635, allocations: 0.5995 MB / 0.5135 GB, free: 8.695 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5635, allocations: 0 / 0.5135 GB, free: 8.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002845/0.5663, allocations: 0.748 MB / 0.5142 GB, free: 7.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5664, allocations: 4 kB / 0.5142 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.5664, allocations: 8.281 kB / 0.5142 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006934/0.5671, allocations: 114.4 kB / 0.5143 GB, free: 7.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/0.5678, allocations: 119.8 kB / 0.5144 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/0.5712, allocations: 3.224 MB / 0.5176 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5716, allocations: 12 kB / 0.5176 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5717, allocations: 31.98 kB / 0.5176 GB, free: 4.184 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.0003773/0.5721, allocations: 193.7 kB / 0.5178 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.5725, allocations: 43.7 kB / 0.5179 GB, free: 3.941 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.5747, allocations: 0.8192 MB / 0.5187 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5747, allocations: 4 kB / 0.5187 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5747, allocations: 4 kB / 0.5187 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/0.5763, allocations: 0.7673 MB / 0.5194 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.5791, allocations: 1.125 MB / 0.5205 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5791, allocations: 0 / 0.5205 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.5797, allocations: 95.89 kB / 0.5206 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.581, allocations: 152.7 kB / 0.5207 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.581, allocations: 19.98 kB / 0.5208 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005842/0.5816, allocations: 0.6522 MB / 0.5214 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5816, allocations: 0 / 0.5214 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.584, allocations: 0.9015 MB / 0.5223 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.5841, allocations: 31.84 kB / 0.5223 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.5842, allocations: 15.94 kB / 0.5223 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.5847, allocations: 19.98 kB / 0.5223 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5848, allocations: 40.45 kB / 0.5224 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.5849, allocations: 23.98 kB / 0.5224 GB, free: 15.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003255/0.5853, allocations: 220.4 kB / 0.5226 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5853, allocations: 0 / 0.5226 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004753/0.59, allocations: 1.337 MB / 0.5239 GB, free: 13.52 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.007836/0.5978, allocations: 1.694 MB / 0.5256 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.6, allocations: 0.7804 MB / 0.5263 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6, allocations: 0 / 0.5263 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008357/0.6009, allocations: 283.2 kB / 0.5266 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.6026, allocations: 217.4 kB / 0.5268 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.6053, allocations: 1.109 MB / 0.5279 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6056, allocations: 233.4 kB / 0.5281 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000636/0.6062, allocations: 135.3 kB / 0.5283 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.6064, allocations: 55.42 kB / 0.5283 GB, free: 8.93 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6064, allocations: 0 / 0.5283 GB, free: 8.93 MB / 446.1 MB Notification: Performance of Templates: time 0.4044/1.011, allocations: 45.1 MB / 0.5724 GB, free: 78.79 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 -s cvode -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: 19.9667910989956]