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.001619/0.001619, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001791/0.001791, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.283, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05755/0.3406, allocations: 45.53 MB / 477.9 MB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.3474, allocations: 4.701 MB / 482.6 MB, free: 4.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.3477, allocations: 7.938 kB / 482.6 MB, free: 4.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.3485, allocations: 238.6 kB / 482.8 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007435/0.3493, allocations: 370 kB / 483.2 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0186/0.3679, allocations: 7.127 MB / 490.3 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3694, allocations: 1.111 MB / 491.4 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.3697, allocations: 102.7 kB / 491.5 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007745/0.3774, allocations: 3.599 MB / 495.1 MB, free: 7.727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.3782, allocations: 430.5 kB / 495.5 MB, free: 7.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.3783, allocations: 56 kB / 495.6 MB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01849/0.3968, allocations: 9.643 MB / 0.4934 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004202/0.3972, allocations: 235.4 kB / 0.4936 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.3976, allocations: 263.1 kB / 0.4939 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.4115, allocations: 5.448 MB / 0.4992 GB, free: 7.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4115, allocations: 0 / 0.4992 GB, free: 7.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4115, allocations: 3.938 kB / 0.4992 GB, free: 7.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.4116, allocations: 4 kB / 0.4992 GB, free: 7.637 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.003928/0.4155, allocations: 1.323 MB / 0.5005 GB, free: 6.277 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.4155, allocations: 11.97 kB / 0.5005 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.4159, allocations: 63.7 kB / 0.5005 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.4165, allocations: 312.4 kB / 0.5008 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4165, allocations: 29 kB / 0.5009 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.4166, allocations: 44 kB / 0.5009 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.4182, allocations: 0.8933 MB / 0.5018 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.4182, allocations: 0 / 0.5018 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.4183, allocations: 16 kB / 0.5018 GB, free: 4.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4183, allocations: 12 kB / 0.5018 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.4197, allocations: 0.7417 MB / 0.5025 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.4332, allocations: 3.58 MB / 0.506 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4346, allocations: 0.505 MB / 0.5065 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.4349, allocations: 246 kB / 0.5068 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.4465, allocations: 2.561 MB / 0.5093 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.4465, allocations: 39 kB / 0.5093 GB, free: 13.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.825e-06/0.4465, allocations: 0 / 0.5093 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006027/0.4525, allocations: 1.89 MB / 0.5111 GB, free: 11.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.4526, allocations: 59.91 kB / 0.5112 GB, free: 11.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.4529, allocations: 260.8 kB / 0.5114 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/0.453, allocations: 37.7 kB / 0.5115 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4532, allocations: 217.2 kB / 0.5117 GB, free: 10.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.4533, allocations: 206.3 kB / 0.5119 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.4535, allocations: 110.3 kB / 0.512 GB, free: 10.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4537, allocations: 346.8 kB / 0.5123 GB, free: 9.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.4541, allocations: 233.2 kB / 0.5125 GB, free: 9.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.4548, allocations: 348.3 kB / 0.5129 GB, free: 9.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.456, allocations: 0.5995 MB / 0.5135 GB, free: 8.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.456, allocations: 0 / 0.5135 GB, free: 8.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001942/0.458, allocations: 0.748 MB / 0.5142 GB, free: 7.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.458, allocations: 8 kB / 0.5142 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.458, allocations: 4 kB / 0.5142 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005379/0.4585, allocations: 110.4 kB / 0.5143 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4591, allocations: 123.9 kB / 0.5144 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.4619, allocations: 3.224 MB / 0.5176 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.4623, allocations: 19.94 kB / 0.5176 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.4623, allocations: 31.98 kB / 0.5176 GB, free: 4.145 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.4627, allocations: 191.7 kB / 0.5178 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.4629, allocations: 47.7 kB / 0.5179 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.4647, allocations: 0.7996 MB / 0.5186 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.4647, allocations: 8 kB / 0.5186 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4647, allocations: 4 kB / 0.5186 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.466, allocations: 0.7673 MB / 0.5194 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.4682, allocations: 1.137 MB / 0.5205 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4682, allocations: 0 / 0.5205 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.4687, allocations: 99.88 kB / 0.5206 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009885/0.4697, allocations: 152.7 kB / 0.5208 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.4697, allocations: 12 kB / 0.5208 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005212/0.4702, allocations: 0.6484 MB / 0.5214 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4702, allocations: 3.938 kB / 0.5214 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.4721, allocations: 0.8976 MB / 0.5223 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.4722, allocations: 35.84 kB / 0.5223 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.4722, allocations: 19.88 kB / 0.5223 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.4726, allocations: 19.98 kB / 0.5223 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.4727, allocations: 40.47 kB / 0.5224 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.4728, allocations: 27.97 kB / 0.5224 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.473, allocations: 216.4 kB / 0.5226 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.473, allocations: 0 / 0.5226 GB, free: 14.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004246/0.4773, allocations: 1.333 MB / 0.5239 GB, free: 13.49 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.006116/0.4834, allocations: 1.694 MB / 0.5256 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001746/0.4852, allocations: 0.7763 MB / 0.5263 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4852, allocations: 0 / 0.5263 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.4858, allocations: 283.8 kB / 0.5266 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.487, allocations: 220.9 kB / 0.5268 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.4892, allocations: 1.151 MB / 0.5279 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4895, allocations: 237.4 kB / 0.5282 GB, free: 9.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.4897, allocations: 63.41 kB / 0.5282 GB, free: 8.977 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4897, allocations: 4 kB / 0.5282 GB, free: 8.973 MB / 446.1 MB Notification: Performance of Templates: time 0.2703/0.76, allocations: 33.72 MB / 0.5612 GB, free: 89.37 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: 16.30688638301217]