Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002398, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002326, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9739/0.9739, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1003/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2442/0.2442, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02447/0.2687, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.882e-05, allocations: 2.312 kB / 292.8 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1268/0.1268, allocations: 147.6 MB / 440.4 MB, free: 2.035 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1291, allocations: 1.683 MB / 442.1 MB, free: 348 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.1293, allocations: 23.81 kB / 442.1 MB, free: 324 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.1296, allocations: 158.8 kB / 442.3 MB, free: 164 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1845/0.3142, allocations: 0.7703 MB / 443.1 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3155, allocations: 0.605 MB / 443.7 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.3172, allocations: 1.195 MB / 444.9 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.3177, allocations: 291.5 kB / 445.2 MB, free: 3.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3187, allocations: 0.6557 MB / 445.8 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.3192, allocations: 332.6 kB / 446.1 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.337e-05/0.3193, allocations: 43.44 kB / 446.2 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008969/0.3202, allocations: 0.5178 MB / 446.7 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3203, allocations: 133.1 kB / 446.8 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.3205, allocations: 155.2 kB / 447 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.3214, allocations: 0.7201 MB / 447.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.609e-06/0.3215, allocations: 0 / 447.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3215, allocations: 0 / 447.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.3215, allocations: 1.094 kB / 447.7 MB, free: 3.812 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.001402/0.3229, allocations: 0.9329 MB / 448.6 MB, free: 19.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.3229, allocations: 9.438 kB / 448.6 MB, free: 19.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.3232, allocations: 193.9 kB / 448.8 MB, free: 19.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.3236, allocations: 313.9 kB / 449.1 MB, free: 19.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.3237, allocations: 88.53 kB / 449.2 MB, free: 19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.3237, allocations: 41.62 kB / 449.3 MB, free: 19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.3241, allocations: 0.6175 MB / 449.9 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3241, allocations: 8.719 kB / 449.9 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3242, allocations: 18.38 kB / 449.9 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.3242, allocations: 15.06 kB / 449.9 MB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3244, allocations: 139.3 kB / 450.1 MB, free: 18.55 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.001345/0.3257, allocations: 1.584 MB / 451.6 MB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3259, allocations: 157.5 kB / 451.8 MB, free: 17.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.326, allocations: 63.92 kB / 451.9 MB, free: 17.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.326, allocations: 9.766 kB / 451.9 MB, free: 17.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.3262, allocations: 302.5 kB / 452.2 MB, free: 17.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.252e-06/0.3262, allocations: 0.9375 kB / 452.2 MB, free: 17.22 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.003911/0.3301, allocations: 1.831 MB / 454 MB, free: 16.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.3302, allocations: 58.67 kB / 454.1 MB, free: 16.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3304, allocations: 353.2 kB / 454.4 MB, free: 16.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.3304, allocations: 36.64 kB / 454.4 MB, free: 16.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.3305, allocations: 220.3 kB / 454.7 MB, free: 16.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-05/0.3306, allocations: 174.4 kB / 454.8 MB, free: 16.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.3307, allocations: 108 kB / 454.9 MB, free: 16.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.3308, allocations: 358.2 kB / 455.3 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.3309, allocations: 89.72 kB / 455.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.331, allocations: 319.9 kB / 455.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.3313, allocations: 383.8 kB / 456.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3313, allocations: 1.969 kB / 456.1 MB, free: 15.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004796/0.3318, allocations: 432 kB / 456.5 MB, free: 15.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.3319, allocations: 41.69 kB / 456.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3319, allocations: 7.062 kB / 456.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.3321, allocations: 79.98 kB / 456.6 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.3324, allocations: 141.5 kB / 456.7 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002853/0.3327, allocations: 0.5649 MB / 457.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3329, allocations: 38.77 kB / 457.3 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.3329, allocations: 33.22 kB / 457.4 MB, free: 14.73 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.0002356/0.3331, allocations: 149.8 kB / 457.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.3332, allocations: 43.33 kB / 457.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005006/0.3337, allocations: 378.8 kB / 457.9 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3337, allocations: 3 kB / 457.9 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3337, allocations: 0 / 457.9 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3337, allocations: 6.672 kB / 457.9 MB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.3345, allocations: 0.6227 MB / 458.6 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3345, allocations: 0 / 458.6 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3347, allocations: 103.8 kB / 458.7 MB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.3348, allocations: 50.27 kB / 458.7 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.3351, allocations: 93.62 kB / 458.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3351, allocations: 15.58 kB / 458.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008049/0.3359, allocations: 1.358 MB / 460.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3359, allocations: 4.031 kB / 460.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.3363, allocations: 479.3 kB / 460.7 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3364, allocations: 10.72 kB / 460.7 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3365, allocations: 31.89 kB / 460.7 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.3366, allocations: 55.73 kB / 460.7 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3367, allocations: 22.86 kB / 460.8 MB, free: 12.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.3367, allocations: 135.9 kB / 460.9 MB, free: 12.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3367, allocations: 0.9375 kB / 460.9 MB, free: 12.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006275/0.3374, allocations: 243.6 kB / 461.1 MB, free: 12.84 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.0004701/0.3378, allocations: 310.2 kB / 461.4 MB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3382, allocations: 350.9 kB / 461.8 MB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/0.3383, allocations: 13.19 kB / 461.8 MB, free: 12.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.3385, allocations: 281.6 kB / 462.1 MB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007913/0.3393, allocations: 1.319 MB / 463.4 MB, free: 11.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/0.3441, allocations: 0.9512 MB / 464.3 MB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.526e-05/0.3442, allocations: 130.6 kB / 464.5 MB, free: 10.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.3445, allocations: 100.5 kB / 464.6 MB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.3448, allocations: 227.4 kB / 464.8 MB, free: 10.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/0.3448, allocations: 0 / 464.8 MB, free: 10.61 MB / 442.7 MB Notification: Performance of Templates: time 0.0149/0.3597, allocations: 13.67 MB / 478.5 MB, free: 9.398 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.4900482892990112]