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.0009349/0.0009349, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001077/0.001077, allocations: 163.1 kB / 24.82 MB, free: 9.266 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.9396/0.9396, allocations: 177 MB / 205.1 MB, free: 5.465 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.2303/0.2303, allocations: 34.87 MB / 296.6 MB, free: 0.5156 MB / 266.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 2.114e-06/2.114e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.099e-05, allocations: 2.312 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2583/0.2583, allocations: 145 MB / 0.512 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2606, allocations: 1.634 MB / 0.5136 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.2608, allocations: 21.16 kB / 0.5136 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.2613, allocations: 162.1 kB / 0.5137 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.2626, allocations: 0.8027 MB / 0.5145 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.2636, allocations: 0.6357 MB / 0.5151 GB, free: 14.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.2644, allocations: 1.189 MB / 0.5163 GB, free: 14.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.2647, allocations: 294.5 kB / 0.5166 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.2652, allocations: 0.619 MB / 0.5172 GB, free: 13.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.2655, allocations: 347.6 kB / 0.5175 GB, free: 13.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.2656, allocations: 43.94 kB / 0.5176 GB, free: 13.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005192/0.2661, allocations: 491.5 kB / 0.518 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-05/0.2662, allocations: 169 kB / 0.5182 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.2663, allocations: 195.1 kB / 0.5184 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000649/0.267, allocations: 0.8267 MB / 0.5192 GB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.267, allocations: 0 / 0.5192 GB, free: 13.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.267, allocations: 4 kB / 0.5192 GB, free: 13.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.267, allocations: 0 / 0.5192 GB, free: 13.21 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.0008295/0.2678, allocations: 0.9296 MB / 0.5201 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.2679, allocations: 8.406 kB / 0.5201 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.2681, allocations: 130.6 kB / 0.5202 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.2684, allocations: 354.5 kB / 0.5206 GB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.2685, allocations: 88.03 kB / 0.5206 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.2685, allocations: 47.67 kB / 0.5207 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.2689, allocations: 0.6347 MB / 0.5213 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.2689, allocations: 2.781 kB / 0.5213 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.2689, allocations: 17.34 kB / 0.5213 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.269, allocations: 19.06 kB / 0.5213 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2691, allocations: 163.2 kB / 0.5215 GB, free: 11.55 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.001184/0.2703, allocations: 2.245 MB / 0.5237 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2705, allocations: 188.6 kB / 0.5239 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.2706, allocations: 60.86 kB / 0.5239 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2706, allocations: 12.42 kB / 0.5239 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.2708, allocations: 319.9 kB / 0.5242 GB, free: 9.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.232e-06/0.2708, allocations: 0 / 0.5242 GB, free: 9.316 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.003257/0.274, allocations: 1.711 MB / 0.5259 GB, free: 8.605 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.2741, allocations: 110 kB / 0.526 GB, free: 8.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.2742, allocations: 405.5 kB / 0.5264 GB, free: 8.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.2743, allocations: 36.7 kB / 0.5264 GB, free: 8.188 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2744, allocations: 313.9 kB / 0.5267 GB, free: 7.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.2744, allocations: 166 kB / 0.5269 GB, free: 7.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2745, allocations: 127.9 kB / 0.527 GB, free: 7.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.2746, allocations: 0.5323 MB / 0.5275 GB, free: 7.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.2747, allocations: 99.45 kB / 0.5276 GB, free: 7.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.2749, allocations: 399 kB / 0.528 GB, free: 6.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.2751, allocations: 430.2 kB / 0.5284 GB, free: 6.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2751, allocations: 3.125 kB / 0.5284 GB, free: 6.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005719/0.2757, allocations: 0.5433 MB / 0.529 GB, free: 6.133 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.2757, allocations: 39.97 kB / 0.529 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2757, allocations: 5.844 kB / 0.529 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.276, allocations: 108.8 kB / 0.5291 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.2762, allocations: 131.7 kB / 0.5292 GB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002133/0.2765, allocations: 0.8456 MB / 0.5301 GB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.2766, allocations: 41.31 kB / 0.5301 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.2767, allocations: 31.41 kB / 0.5301 GB, free: 5.227 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.0001084/0.2768, allocations: 198.2 kB / 0.5303 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2768, allocations: 64.5 kB / 0.5304 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.2773, allocations: 452.2 kB / 0.5308 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2773, allocations: 5.281 kB / 0.5308 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.2773, allocations: 0 / 0.5308 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2773, allocations: 2.062 kB / 0.5308 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.2781, allocations: 0.8501 MB / 0.5316 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2781, allocations: 2.719 kB / 0.5317 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.2783, allocations: 86.27 kB / 0.5317 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.2785, allocations: 99.27 kB / 0.5318 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.2785, allocations: 16.11 kB / 0.5318 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006608/0.2792, allocations: 1.914 MB / 0.5337 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2792, allocations: 6.844 kB / 0.5337 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.2799, allocations: 0.6087 MB / 0.5343 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.28, allocations: 81.67 kB / 0.5344 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.28, allocations: 15.72 kB / 0.5344 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.2802, allocations: 29.69 kB / 0.5344 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.2803, allocations: 61.75 kB / 0.5345 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.2803, allocations: 22.64 kB / 0.5345 GB, free: 1.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001022/0.2804, allocations: 252.3 kB / 0.5348 GB, free: 1.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2804, allocations: 0 / 0.5348 GB, free: 1.828 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004228/0.2808, allocations: 234.8 kB / 0.535 GB, free: 1.789 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.0003778/0.2812, allocations: 291.6 kB / 0.5353 GB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.2815, allocations: 374.6 kB / 0.5356 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2816, allocations: 4 kB / 0.5356 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.2818, allocations: 337.1 kB / 0.5359 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.2823, allocations: 212.1 kB / 0.5361 GB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.2834, allocations: 0.9896 MB / 0.5371 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.2835, allocations: 136.3 kB / 0.5372 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.2837, allocations: 115.5 kB / 0.5373 GB, free: 456 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.2841, allocations: 277.1 kB / 0.5376 GB, free: 376 kB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2841, allocations: 0 / 0.5376 GB, free: 376 kB / 410.7 MB Notification: Performance of Templates: time 0.01367/0.2978, allocations: 13.86 MB / 0.5511 GB, free: 7.277 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: 3.5654078968800604]