Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.001327/0.001327, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001374/0.001374, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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.059/1.059, allocations: 158.6 MB / 186.1 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1596/0.1596, allocations: 32.38 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.907e-05, allocations: 9.344 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4682/0.4682, allocations: 156.3 MB / 0.4922 GB, free: 4.066 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.4755, allocations: 4.06 MB / 0.4961 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009858/0.4765, allocations: 20.56 kB / 0.4961 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.4775, allocations: 202.2 kB / 0.4963 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.4811, allocations: 0.8646 MB / 0.4972 GB, free: 96 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.4836, allocations: 0.6952 MB / 0.4979 GB, free: 15.58 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.486, allocations: 1.175 MB / 0.499 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007748/0.4868, allocations: 297.1 kB / 0.4993 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.4883, allocations: 0.619 MB / 0.4999 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008433/0.4891, allocations: 346.8 kB / 0.5002 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.4893, allocations: 43.28 kB / 0.5003 GB, free: 14.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.491, allocations: 0.5148 MB / 0.5008 GB, free: 13.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.4913, allocations: 178.7 kB / 0.5009 GB, free: 13.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.4916, allocations: 197.9 kB / 0.5011 GB, free: 13.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.4941, allocations: 0.8582 MB / 0.502 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.4941, allocations: 0 / 0.502 GB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4941, allocations: 0 / 0.502 GB, free: 13.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.4941, allocations: 0 / 0.502 GB, free: 13.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001943/0.4961, allocations: 0.9329 MB / 0.5029 GB, free: 12.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.4962, allocations: 7.969 kB / 0.5029 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.4967, allocations: 123.7 kB / 0.503 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/0.4974, allocations: 365.3 kB / 0.5033 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4976, allocations: 85.83 kB / 0.5034 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.4976, allocations: 44.5 kB / 0.5035 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.4985, allocations: 0.681 MB / 0.5041 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.4985, allocations: 0 / 0.5041 GB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.4986, allocations: 19.94 kB / 0.5042 GB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.853e-05/0.4986, allocations: 16.66 kB / 0.5042 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.499, allocations: 203.6 kB / 0.5044 GB, free: 10.96 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.5017, allocations: 2.315 MB / 0.5066 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.5021, allocations: 200.1 kB / 0.5068 GB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.5022, allocations: 76.16 kB / 0.5069 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.799e-05/0.5023, allocations: 16.25 kB / 0.5069 GB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004752/0.5028, allocations: 389.2 kB / 0.5073 GB, free: 7.797 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/0.5028, allocations: 4 kB / 0.5073 GB, free: 7.793 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.005297/0.5081, allocations: 1.875 MB / 0.5091 GB, free: 5.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5082, allocations: 162.2 kB / 0.5093 GB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.5086, allocations: 406.6 kB / 0.5097 GB, free: 5.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-05/0.5086, allocations: 29.7 kB / 0.5097 GB, free: 5.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.5088, allocations: 307.2 kB / 0.51 GB, free: 4.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.5089, allocations: 170.6 kB / 0.5101 GB, free: 4.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.5091, allocations: 123.9 kB / 0.5103 GB, free: 4.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.5093, allocations: 0.5274 MB / 0.5108 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.5095, allocations: 118.9 kB / 0.5109 GB, free: 3.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.5099, allocations: 479.3 kB / 0.5113 GB, free: 3.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.5104, allocations: 458.2 kB / 0.5118 GB, free: 2.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5104, allocations: 0 / 0.5118 GB, free: 2.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009046/0.5113, allocations: 0.5784 MB / 0.5123 GB, free: 2.172 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.5114, allocations: 44.28 kB / 0.5124 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.5114, allocations: 4 kB / 0.5124 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.5117, allocations: 83.66 kB / 0.5125 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.512, allocations: 123.8 kB / 0.5126 GB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005906/0.5126, allocations: 0.8585 MB / 0.5134 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.5129, allocations: 36.05 kB / 0.5135 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.513, allocations: 36 kB / 0.5135 GB, free: 0.9531 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.5132, allocations: 204.3 kB / 0.5137 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.916e-05/0.5133, allocations: 63.72 kB / 0.5138 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/0.5142, allocations: 469.3 kB / 0.5142 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5142, allocations: 8 kB / 0.5142 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.5142, allocations: 0 / 0.5142 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5142, allocations: 3.984 kB / 0.5142 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.5156, allocations: 0.9398 MB / 0.5151 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5156, allocations: 0 / 0.5151 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.5159, allocations: 92.03 kB / 0.5152 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.5163, allocations: 95.58 kB / 0.5153 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5163, allocations: 19.98 kB / 0.5153 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.5178, allocations: 1.948 MB / 0.5172 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5178, allocations: 11.25 kB / 0.5172 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.5187, allocations: 0.6539 MB / 0.5179 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.519, allocations: 83.66 kB / 0.518 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.519, allocations: 12 kB / 0.518 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.5192, allocations: 23.98 kB / 0.518 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5194, allocations: 63.83 kB / 0.5181 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.361e-05/0.5195, allocations: 27.98 kB / 0.5181 GB, free: 12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.5197, allocations: 259.1 kB / 0.5183 GB, free: 11.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5197, allocations: 4 kB / 0.5183 GB, free: 11.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009176/0.5206, allocations: 243.6 kB / 0.5186 GB, free: 11.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009214/0.5215, allocations: 328.4 kB / 0.5189 GB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008212/0.5224, allocations: 400.3 kB / 0.5193 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5224, allocations: 0 / 0.5193 GB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.5228, allocations: 351.5 kB / 0.5196 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.5235, allocations: 226.5 kB / 0.5198 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5259, allocations: 1.001 MB / 0.5208 GB, free: 9.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.5261, allocations: 142.2 kB / 0.5209 GB, free: 8.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004863/0.5265, allocations: 132.5 kB / 0.521 GB, free: 8.855 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.5267, allocations: 60.48 kB / 0.5211 GB, free: 8.797 MB / 394.7 MB Notification: Performance of SimCode: time 4.339e-06/0.5267, allocations: 4 kB / 0.5211 GB, free: 8.793 MB / 394.7 MB Notification: Performance of Templates: time 0.02507/0.5518, allocations: 13.21 MB / 0.534 GB, free: 11.68 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.427444227971137]