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.0008315/0.0008315, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002103, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001134/0.001134, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001641/0.002775, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9566/0.9566, allocations: 177.5 MB / 190.1 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0951/1.052, allocations: 53.86 MB / 243.9 MB, free: 14.85 MB / 250.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.25/0.25, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02672/0.2767, allocations: 13.24 MB / 292.8 MB, free: 6.375 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.272e-06/1.272e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.605e-05, allocations: 2.969 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1738/0.1739, allocations: 147.6 MB / 441.7 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.3644, allocations: 1.685 MB / 443.4 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.3648, allocations: 18.75 kB / 443.4 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004422/0.3653, allocations: 158.4 kB / 443.6 MB, free: 3.625 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.3669, allocations: 0.783 MB / 444.3 MB, free: 3.605 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3681, allocations: 0.6129 MB / 445 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.3694, allocations: 1.185 MB / 446.1 MB, free: 3.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.3698, allocations: 299.3 kB / 446.4 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000954/0.3708, allocations: 0.6526 MB / 447.1 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.3713, allocations: 329.6 kB / 447.4 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.3714, allocations: 46.38 kB / 447.5 MB, free: 3.562 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.3723, allocations: 0.5127 MB / 448 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.3725, allocations: 135.3 kB / 448.1 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.3726, allocations: 152 kB / 448.2 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009219/0.3736, allocations: 0.7213 MB / 449 MB, free: 3.496 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.3736, allocations: 0 / 449 MB, free: 3.496 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3736, allocations: 3.625 kB / 449 MB, free: 3.496 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3736, allocations: 1 kB / 449 MB, free: 3.496 MB / 426.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.001371/0.375, allocations: 0.9357 MB / 449.9 MB, free: 19.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.375, allocations: 12.58 kB / 449.9 MB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.3753, allocations: 187.1 kB / 450.1 MB, free: 18.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.3757, allocations: 319.9 kB / 450.4 MB, free: 18.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.589e-05/0.3758, allocations: 86.3 kB / 450.5 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.3758, allocations: 44.86 kB / 450.5 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.3762, allocations: 0.6099 MB / 451.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3763, allocations: 4 kB / 451.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.3763, allocations: 23.11 kB / 451.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.3763, allocations: 18.75 kB / 451.2 MB, free: 18.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3765, allocations: 140.5 kB / 451.3 MB, free: 18.23 MB / 442.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.001336/0.3778, allocations: 1.578 MB / 452.9 MB, free: 17.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.378, allocations: 162.3 kB / 453.1 MB, free: 17.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.3781, allocations: 68.91 kB / 453.1 MB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.3781, allocations: 6.625 kB / 453.1 MB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.3784, allocations: 298.1 kB / 453.4 MB, free: 16.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.3784, allocations: 2.875 kB / 453.4 MB, free: 16.9 MB / 442.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.003739/0.3821, allocations: 1.833 MB / 455.3 MB, free: 16.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3821, allocations: 60.06 kB / 455.3 MB, free: 16.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3823, allocations: 341.7 kB / 455.7 MB, free: 16.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.3824, allocations: 35.8 kB / 455.7 MB, free: 16.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.3825, allocations: 234.8 kB / 455.9 MB, free: 16.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.637e-05/0.3825, allocations: 164.6 kB / 456.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3826, allocations: 109.6 kB / 456.2 MB, free: 15.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3827, allocations: 362.5 kB / 456.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.3829, allocations: 85.33 kB / 456.6 MB, free: 15.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.383, allocations: 318.5 kB / 456.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3833, allocations: 380.5 kB / 457.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3833, allocations: 3.812 kB / 457.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004571/0.3838, allocations: 438.9 kB / 457.8 MB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.3838, allocations: 43.61 kB / 457.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3838, allocations: 6.688 kB / 457.8 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.384, allocations: 81.22 kB / 457.9 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.3843, allocations: 141.4 kB / 458 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002925/0.3846, allocations: 0.5671 MB / 458.6 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.3848, allocations: 39.05 kB / 458.6 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.3848, allocations: 27.88 kB / 458.7 MB, free: 14.41 MB / 442.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.0001411/0.385, allocations: 162.9 kB / 458.8 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.385, allocations: 48.12 kB / 458.9 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.3855, allocations: 354.5 kB / 459.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.3855, allocations: 6.312 kB / 459.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3855, allocations: 0 / 459.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3855, allocations: 5.312 kB / 459.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007134/0.3862, allocations: 0.6255 MB / 459.8 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3862, allocations: 6.031 kB / 459.8 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3865, allocations: 98.64 kB / 459.9 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.3866, allocations: 50.53 kB / 460 MB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.3868, allocations: 94.23 kB / 460.1 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3869, allocations: 16.42 kB / 460.1 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008982/0.3877, allocations: 1.362 MB / 461.5 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3878, allocations: 1 kB / 461.5 MB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.3883, allocations: 484.2 kB / 461.9 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.3883, allocations: 16.38 kB / 462 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.3885, allocations: 29.08 kB / 462 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.3886, allocations: 59.84 kB / 462 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.3886, allocations: 14.89 kB / 462.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3888, allocations: 138 kB / 462.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3888, allocations: 4.125 kB / 462.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007276/0.3895, allocations: 240.1 kB / 462.4 MB, free: 12.51 MB / 442.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.0005766/0.3901, allocations: 297.9 kB / 462.7 MB, free: 12.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004317/0.3905, allocations: 356.2 kB / 463.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.06e-05/0.3905, allocations: 5.562 kB / 463.1 MB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3908, allocations: 291.9 kB / 463.4 MB, free: 12.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.3917, allocations: 1.313 MB / 464.7 MB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.3965, allocations: 0.9512 MB / 465.6 MB, free: 10.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.059e-05/0.3966, allocations: 135.8 kB / 465.8 MB, free: 10.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002921/0.3969, allocations: 97.84 kB / 465.8 MB, free: 10.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.3972, allocations: 222.8 kB / 466.1 MB, free: 10.28 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3972, allocations: 3.438 kB / 466.1 MB, free: 10.28 MB / 442.7 MB Notification: Performance of Templates: time 0.01512/0.4124, allocations: 13.66 MB / 479.7 MB, free: 9.066 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5590941654518247]