Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001606/0.001606, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 166.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9618/0.9618, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1783/0.1783, allocations: 34.88 MB / 297.4 MB, free: 13.43 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.734e-05, allocations: 6.781 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3549/0.3549, allocations: 145 MB / 0.5127 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.3578, allocations: 1.627 MB / 0.5143 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.3583, allocations: 20.5 kB / 0.5143 GB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3588, allocations: 161.4 kB / 0.5145 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.3607, allocations: 0.8044 MB / 0.5153 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.362, allocations: 0.6375 MB / 0.5159 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001437/0.3635, allocations: 1.188 MB / 0.517 GB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005143/0.364, allocations: 300.5 kB / 0.5173 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.365, allocations: 0.613 MB / 0.5179 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005481/0.3655, allocations: 348.4 kB / 0.5183 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.571e-05/0.3656, allocations: 43.75 kB / 0.5183 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.3666, allocations: 494 kB / 0.5188 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3667, allocations: 169.3 kB / 0.5189 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3669, allocations: 187.3 kB / 0.5191 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3681, allocations: 0.8358 MB / 0.5199 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3681, allocations: 0 / 0.5199 GB, free: 15.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3681, allocations: 4 kB / 0.5199 GB, free: 15.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3681, allocations: 2.594 kB / 0.5199 GB, free: 15.93 MB / 410.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.00118/0.3693, allocations: 0.9232 MB / 0.5208 GB, free: 15.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3693, allocations: 8.188 kB / 0.5208 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.3696, allocations: 131.4 kB / 0.521 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.37, allocations: 354.9 kB / 0.5213 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.3701, allocations: 95.81 kB / 0.5214 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.3701, allocations: 46.05 kB / 0.5214 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3706, allocations: 0.637 MB / 0.5221 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.3706, allocations: 2.156 kB / 0.5221 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.3706, allocations: 15.47 kB / 0.5221 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.3707, allocations: 18.19 kB / 0.5221 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.3709, allocations: 163.2 kB / 0.5222 GB, free: 14.54 MB / 410.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.001462/0.3723, allocations: 2.238 MB / 0.5244 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3726, allocations: 189.8 kB / 0.5246 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.3727, allocations: 72.11 kB / 0.5247 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.3727, allocations: 5.438 kB / 0.5247 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.3729, allocations: 320.3 kB / 0.525 GB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3729, allocations: 0 / 0.525 GB, free: 12.61 MB / 410.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.00368/0.3766, allocations: 1.672 MB / 0.5266 GB, free: 12.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3766, allocations: 115.6 kB / 0.5267 GB, free: 11.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.3768, allocations: 395 kB / 0.5271 GB, free: 11.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3769, allocations: 39.77 kB / 0.5272 GB, free: 11.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.377, allocations: 311.6 kB / 0.5274 GB, free: 11.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.3771, allocations: 169.5 kB / 0.5276 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3772, allocations: 123.4 kB / 0.5277 GB, free: 11.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.3772, allocations: 0.5353 MB / 0.5283 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3774, allocations: 93.34 kB / 0.5283 GB, free: 10.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3775, allocations: 393.1 kB / 0.5287 GB, free: 10.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3779, allocations: 437.4 kB / 0.5291 GB, free: 10.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3779, allocations: 2.719 kB / 0.5291 GB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006601/0.3785, allocations: 0.5287 MB / 0.5297 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.3785, allocations: 35.98 kB / 0.5297 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3786, allocations: 5.5 kB / 0.5297 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.3788, allocations: 91.83 kB / 0.5298 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.379, allocations: 131.2 kB / 0.5299 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002651/0.3793, allocations: 0.8471 MB / 0.5307 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3795, allocations: 41.7 kB / 0.5308 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.3795, allocations: 32.02 kB / 0.5308 GB, free: 9.195 MB / 410.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.inFlow[1],sweptVolume.regularFlow[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.0001268/0.3797, allocations: 203.3 kB / 0.531 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3797, allocations: 64.91 kB / 0.5311 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006161/0.3803, allocations: 446.1 kB / 0.5315 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3803, allocations: 2.906 kB / 0.5315 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3803, allocations: 0 / 0.5315 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.3804, allocations: 1.969 kB / 0.5315 GB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.3813, allocations: 0.854 MB / 0.5323 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3813, allocations: 0 / 0.5323 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3815, allocations: 87.95 kB / 0.5324 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.3819, allocations: 97.14 kB / 0.5325 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.3819, allocations: 20.69 kB / 0.5325 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008124/0.3827, allocations: 1.918 MB / 0.5344 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3827, allocations: 2.844 kB / 0.5344 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.3833, allocations: 0.6039 MB / 0.535 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3834, allocations: 80.69 kB / 0.5351 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.3834, allocations: 12.34 kB / 0.5351 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3836, allocations: 30.5 kB / 0.5351 GB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3837, allocations: 59.06 kB / 0.5352 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.3837, allocations: 22.31 kB / 0.5352 GB, free: 6.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3839, allocations: 256.2 kB / 0.5354 GB, free: 6.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3839, allocations: 0 / 0.5354 GB, free: 6.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006102/0.3845, allocations: 231.2 kB / 0.5356 GB, free: 6.332 MB / 410.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.0004566/0.3849, allocations: 295.9 kB / 0.5359 GB, free: 6.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.3854, allocations: 378.2 kB / 0.5363 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3854, allocations: 0 / 0.5363 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.3856, allocations: 333 kB / 0.5366 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005933/0.3862, allocations: 223.7 kB / 0.5368 GB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3877, allocations: 0.9905 MB / 0.5378 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.176e-05/0.3878, allocations: 131.9 kB / 0.5379 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.3881, allocations: 109.2 kB / 0.538 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003951/0.3885, allocations: 277.7 kB / 0.5383 GB, free: 5.137 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3885, allocations: 0 / 0.5383 GB, free: 5.137 MB / 410.7 MB Notification: Performance of Templates: time 0.01742/0.4059, allocations: 14.04 MB / 0.552 GB, free: 14.77 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.215834020636976]