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.0009467/0.0009467, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009567/0.0009567, allocations: 164.4 kB / 24.91 MB, free: 8.719 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.9794/0.9794, allocations: 177 MB / 205.2 MB, free: 5.445 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.2921/0.2921, allocations: 34.86 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 1.283e-06/1.283e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.677e-05, allocations: 2.312 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3687/0.3687, allocations: 147.2 MB / 473.1 MB, free: 16.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.3719, allocations: 1.672 MB / 474.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.3723, allocations: 20.03 kB / 474.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.3728, allocations: 166.6 kB / 475 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.3746, allocations: 0.7797 MB / 475.8 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.376, allocations: 0.6011 MB / 476.4 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3772, allocations: 1.187 MB / 477.5 MB, free: 16.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.3775, allocations: 305.2 kB / 477.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/0.3783, allocations: 0.6073 MB / 478.5 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.3787, allocations: 331.7 kB / 478.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.3787, allocations: 43.84 kB / 478.8 MB, free: 16.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.3797, allocations: 0.5077 MB / 479.3 MB, free: 16.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3798, allocations: 170.5 kB / 479.5 MB, free: 16.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.38, allocations: 191.2 kB / 479.7 MB, free: 16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008644/0.3808, allocations: 0.8251 MB / 480.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3808, allocations: 7.5 kB / 480.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3808, allocations: 0 / 480.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3808, allocations: 7.062 kB / 480.5 MB, free: 15.91 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.000921/0.3818, allocations: 0.7894 MB / 481.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3818, allocations: 9.125 kB / 481.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.3821, allocations: 116.5 kB / 481.4 MB, free: 15.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3825, allocations: 319.2 kB / 481.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.3826, allocations: 91.67 kB / 481.8 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.428e-05/0.3826, allocations: 49.77 kB / 481.9 MB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.3831, allocations: 0.6085 MB / 482.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3831, allocations: 6.094 kB / 482.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3831, allocations: 15.41 kB / 482.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.3831, allocations: 14.16 kB / 482.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.3833, allocations: 145.5 kB / 482.7 MB, free: 14.71 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.001321/0.3846, allocations: 1.572 MB / 484.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.3849, allocations: 165.5 kB / 484.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.385, allocations: 63.36 kB / 484.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.385, allocations: 8.547 kB / 484.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.3852, allocations: 298.2 kB / 484.8 MB, free: 13.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.204e-06/0.3852, allocations: 0 / 484.8 MB, free: 13.38 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.004361/0.3896, allocations: 1.792 MB / 486.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3896, allocations: 116.9 kB / 486.7 MB, free: 12.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.3898, allocations: 338.5 kB / 487 MB, free: 12.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.3899, allocations: 35.7 kB / 487 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.39, allocations: 238.3 kB / 487.3 MB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.39, allocations: 166.2 kB / 487.4 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3902, allocations: 112.6 kB / 487.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.3902, allocations: 363.4 kB / 487.9 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.3903, allocations: 81.34 kB / 488 MB, free: 11.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.3904, allocations: 321.3 kB / 488.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.3907, allocations: 370.8 kB / 488.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3907, allocations: 0 / 488.6 MB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004885/0.3912, allocations: 437 kB / 489.1 MB, free: 11.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3912, allocations: 34.61 kB / 489.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3912, allocations: 5.219 kB / 489.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.3915, allocations: 89.89 kB / 489.2 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.3918, allocations: 132.3 kB / 489.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002304/0.392, allocations: 0.5658 MB / 489.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.3922, allocations: 36.92 kB / 489.9 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3922, allocations: 33.06 kB / 490 MB, free: 10.77 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.0001141/0.3923, allocations: 157.9 kB / 490.1 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.3924, allocations: 46.84 kB / 490.2 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.3929, allocations: 377.5 kB / 490.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3929, allocations: 5.688 kB / 490.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.3929, allocations: 2.938 kB / 490.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3929, allocations: 2.625 kB / 490.5 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.3936, allocations: 0.6317 MB / 491.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3937, allocations: 2.344 kB / 491.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3939, allocations: 92.66 kB / 491.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002621/0.3941, allocations: 96.62 kB / 491.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3942, allocations: 12.47 kB / 491.4 MB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000668/0.3948, allocations: 1.364 MB / 492.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3948, allocations: 6.812 kB / 492.7 MB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.3953, allocations: 480.1 kB / 493.2 MB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-05/0.3954, allocations: 53.47 kB / 493.3 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.3954, allocations: 12.19 kB / 493.3 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3956, allocations: 30.36 kB / 493.3 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3957, allocations: 56.73 kB / 493.4 MB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3957, allocations: 23.55 kB / 493.4 MB, free: 8.879 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3958, allocations: 136.2 kB / 493.5 MB, free: 8.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3958, allocations: 0 / 493.5 MB, free: 8.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005226/0.3963, allocations: 235.2 kB / 493.8 MB, free: 8.84 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.0004383/0.3968, allocations: 276.4 kB / 494 MB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.3971, allocations: 338.8 kB / 494.4 MB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.3972, allocations: 9.031 kB / 494.4 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3974, allocations: 264.5 kB / 494.6 MB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3979, allocations: 213.5 kB / 494.8 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3991, allocations: 0.9701 MB / 495.8 MB, free: 7.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.3992, allocations: 131.4 kB / 495.9 MB, free: 7.891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.3995, allocations: 104.1 kB / 496 MB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/0.3998, allocations: 229.5 kB / 496.3 MB, free: 7.797 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3998, allocations: 0 / 496.3 MB, free: 7.797 MB / 410.7 MB Notification: Performance of Templates: time 0.01592/0.4157, allocations: 13.65 MB / 0.4979 GB, free: 1.664 MB / 410.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 -s gbode -gbm=radauIIA3 -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.744204413611442]