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.0009565/0.0009565, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001051/0.001051, allocations: 156.2 kB / 24.98 MB, free: 8.223 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.9439/0.9439, allocations: 177 MB / 205.2 MB, free: 5.609 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.2468/0.2468, allocations: 34.86 MB / 296.6 MB, free: 0.5508 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 1.233e-06/1.233e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.931e-05, allocations: 3.719 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3128/0.3128, allocations: 156.4 MB / 0.5226 GB, free: 9.785 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3147, allocations: 1.626 MB / 0.5242 GB, free: 8.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.3149, allocations: 20.16 kB / 0.5242 GB, free: 8.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.3154, allocations: 204.5 kB / 0.5244 GB, free: 8.582 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3167, allocations: 0.8205 MB / 0.5252 GB, free: 8.129 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008992/0.3176, allocations: 0.6856 MB / 0.5259 GB, free: 7.793 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007212/0.3184, allocations: 1.169 MB / 0.527 GB, free: 7.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.3186, allocations: 291.9 kB / 0.5273 GB, free: 7.074 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.3192, allocations: 0.6295 MB / 0.5279 GB, free: 6.809 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3195, allocations: 349.2 kB / 0.5282 GB, free: 6.699 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.3196, allocations: 45.5 kB / 0.5283 GB, free: 6.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.3201, allocations: 0.4907 MB / 0.5288 GB, free: 6.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3202, allocations: 169.3 kB / 0.5289 GB, free: 6.469 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3203, allocations: 195.7 kB / 0.5291 GB, free: 6.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.3211, allocations: 0.8416 MB / 0.5299 GB, free: 6.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3211, allocations: 2.969 kB / 0.5299 GB, free: 6.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3211, allocations: 0 / 0.5299 GB, free: 6.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3211, allocations: 0 / 0.5299 GB, free: 6.07 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.0009425/0.3221, allocations: 0.9264 MB / 0.5308 GB, free: 5.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.3221, allocations: 11.84 kB / 0.5308 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.3226, allocations: 117.5 kB / 0.531 GB, free: 5.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.3232, allocations: 366.9 kB / 0.5313 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.408e-05/0.3232, allocations: 88 kB / 0.5314 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3233, allocations: 40.62 kB / 0.5314 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.3239, allocations: 0.6563 MB / 0.5321 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.324, allocations: 14.39 kB / 0.5321 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/0.324, allocations: 24.44 kB / 0.5321 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.324, allocations: 14.94 kB / 0.5321 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.3244, allocations: 192.9 kB / 0.5323 GB, free: 4.387 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.001735/0.3261, allocations: 2.304 MB / 0.5346 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.3264, allocations: 196 kB / 0.5347 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3266, allocations: 85.77 kB / 0.5348 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3266, allocations: 6.125 kB / 0.5348 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.3268, allocations: 362.8 kB / 0.5352 GB, free: 2.059 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.315e-06/0.3269, allocations: 0 / 0.5352 GB, free: 2.059 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.004249/0.3311, allocations: 1.883 MB / 0.537 GB, free: 1.258 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3311, allocations: 134 kB / 0.5371 GB, free: 1.102 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3314, allocations: 404.9 kB / 0.5375 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3314, allocations: 37.23 kB / 0.5376 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3315, allocations: 310.6 kB / 0.5379 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.3316, allocations: 163.9 kB / 0.538 GB, free: 432 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3317, allocations: 123 kB / 0.5381 GB, free: 364 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.3318, allocations: 0.5396 MB / 0.5387 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.332, allocations: 110.6 kB / 0.5388 GB, free: 15.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.3323, allocations: 453 kB / 0.5392 GB, free: 15.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.3327, allocations: 450.2 kB / 0.5396 GB, free: 14.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3327, allocations: 6.844 kB / 0.5396 GB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007418/0.3335, allocations: 0.5696 MB / 0.5402 GB, free: 14.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.3335, allocations: 40.84 kB / 0.5402 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3335, allocations: 2.906 kB / 0.5402 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002301/0.3337, allocations: 76.77 kB / 0.5403 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.334, allocations: 126.5 kB / 0.5404 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000412/0.3344, allocations: 0.8657 MB / 0.5413 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3346, allocations: 35.12 kB / 0.5413 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.214e-05/0.3347, allocations: 41.61 kB / 0.5413 GB, free: 13.78 MB / 426.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.0001673/0.3348, allocations: 200.2 kB / 0.5415 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3349, allocations: 62.14 kB / 0.5416 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.3356, allocations: 479.1 kB / 0.5421 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3356, allocations: 5.062 kB / 0.5421 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3356, allocations: 2.531 kB / 0.5421 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3356, allocations: 2.578 kB / 0.5421 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3368, allocations: 0.932 MB / 0.543 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3368, allocations: 4.156 kB / 0.543 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.337, allocations: 89.84 kB / 0.5431 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/0.3373, allocations: 107.5 kB / 0.5432 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.3373, allocations: 16.06 kB / 0.5432 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.3385, allocations: 1.944 MB / 0.5451 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3385, allocations: 5.812 kB / 0.5451 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007529/0.3393, allocations: 0.6585 MB / 0.5457 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3394, allocations: 79.03 kB / 0.5458 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.866e-05/0.3394, allocations: 13.22 kB / 0.5458 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.3396, allocations: 33.61 kB / 0.5459 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.3397, allocations: 58 kB / 0.5459 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3398, allocations: 26.3 kB / 0.5459 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.3399, allocations: 267.9 kB / 0.5462 GB, free: 10.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3399, allocations: 0 / 0.5462 GB, free: 10.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.3405, allocations: 234.2 kB / 0.5464 GB, free: 10.22 MB / 426.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.0004998/0.341, allocations: 294.1 kB / 0.5467 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.3416, allocations: 407.4 kB / 0.5471 GB, free: 9.902 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3416, allocations: 384 / 0.5471 GB, free: 9.902 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.3419, allocations: 354.2 kB / 0.5474 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.3425, allocations: 216.4 kB / 0.5476 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.3441, allocations: 1.002 MB / 0.5486 GB, free: 8.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.931e-05/0.3442, allocations: 134.7 kB / 0.5487 GB, free: 8.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003223/0.3445, allocations: 132.5 kB / 0.5489 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.3446, allocations: 63.17 kB / 0.5489 GB, free: 8.648 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3446, allocations: 0 / 0.5489 GB, free: 8.648 MB / 426.7 MB Notification: Performance of Templates: time 0.01533/0.36, allocations: 12.79 MB / 0.5614 GB, free: 13.21 MB / 442.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.7432379780802876]