Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001373/0.001373, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001137/0.001137, allocations: 172.7 kB / 24.91 MB, free: 9.195 MB / 18.57 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.731e-05, allocations: 5.516 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3137/0.3138, allocations: 147.2 MB / 470.4 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3158, allocations: 1.683 MB / 472.1 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.3161, allocations: 20.28 kB / 472.1 MB, free: 16.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.3166, allocations: 161.9 kB / 472.3 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.3182, allocations: 0.7722 MB / 473.1 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3189, allocations: 0.6106 MB / 473.7 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008003/0.3197, allocations: 1.18 MB / 474.9 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.32, allocations: 304 kB / 475.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.3206, allocations: 0.6105 MB / 475.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.3209, allocations: 327.2 kB / 476.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.321, allocations: 43.69 kB / 476.1 MB, free: 16.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.3215, allocations: 0.5101 MB / 476.6 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3217, allocations: 177.1 kB / 476.8 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3218, allocations: 191 kB / 477 MB, free: 16.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.3225, allocations: 0.8254 MB / 477.8 MB, free: 16.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3225, allocations: 4 kB / 477.8 MB, free: 16.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3225, allocations: 0 / 477.8 MB, free: 16.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3225, allocations: 4.625 kB / 477.8 MB, free: 16.41 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.0008491/0.3234, allocations: 0.7925 MB / 478.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.3234, allocations: 16.83 kB / 478.6 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.3237, allocations: 109.8 kB / 478.7 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.324, allocations: 318 kB / 479.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.3241, allocations: 88.16 kB / 479.1 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/0.3241, allocations: 44.83 kB / 479.2 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.3245, allocations: 0.6163 MB / 479.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3245, allocations: 2.344 kB / 479.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.3245, allocations: 19.09 kB / 479.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.3246, allocations: 20.83 kB / 479.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.3247, allocations: 145.6 kB / 480 MB, free: 15.2 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.001135/0.3259, allocations: 1.567 MB / 481.5 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3261, allocations: 166.6 kB / 481.7 MB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.3261, allocations: 58.44 kB / 481.8 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3261, allocations: 8.891 kB / 481.8 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.3263, allocations: 301.3 kB / 482.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.242e-06/0.3263, allocations: 0 / 482.1 MB, free: 13.88 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.003707/0.33, allocations: 1.802 MB / 483.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3301, allocations: 108.3 kB / 484 MB, free: 13.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3302, allocations: 351.3 kB / 484.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3303, allocations: 35.64 kB / 484.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.3303, allocations: 227.4 kB / 484.6 MB, free: 12.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.07e-05/0.3304, allocations: 167.4 kB / 484.7 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3305, allocations: 115.8 kB / 484.9 MB, free: 12.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.3306, allocations: 360.7 kB / 485.2 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.3307, allocations: 80.44 kB / 485.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.3308, allocations: 323.8 kB / 485.6 MB, free: 12.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.3311, allocations: 369.8 kB / 486 MB, free: 11.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3311, allocations: 0 / 486 MB, free: 11.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004817/0.3316, allocations: 432.7 kB / 486.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3316, allocations: 37.05 kB / 486.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3316, allocations: 8.25 kB / 486.4 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.335, allocations: 90.23 kB / 486.5 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.3355, allocations: 135.3 kB / 486.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004034/0.3359, allocations: 0.5674 MB / 487.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.3364, allocations: 40.72 kB / 487.3 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.3365, allocations: 32.02 kB / 487.3 MB, free: 11.26 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.000259/0.3368, allocations: 157.7 kB / 487.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.537e-05/0.3368, allocations: 40.75 kB / 487.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.3376, allocations: 377.6 kB / 487.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.3376, allocations: 11.62 kB / 487.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3376, allocations: 0 / 487.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.3377, allocations: 2.25 kB / 487.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3389, allocations: 0.6279 MB / 488.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.3389, allocations: 2.906 kB / 488.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.3393, allocations: 101.9 kB / 488.6 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.3397, allocations: 95.23 kB / 488.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.3397, allocations: 9.594 kB / 488.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3408, allocations: 1.359 MB / 490.1 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3408, allocations: 6.5 kB / 490.1 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007065/0.3415, allocations: 485 kB / 490.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.3417, allocations: 51.91 kB / 490.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.3417, allocations: 12.48 kB / 490.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.342, allocations: 27.98 kB / 490.6 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3421, allocations: 59.38 kB / 490.7 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/0.3422, allocations: 19.78 kB / 490.7 MB, free: 9.371 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.3423, allocations: 138.6 kB / 490.8 MB, free: 9.355 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3423, allocations: 4 kB / 490.8 MB, free: 9.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009015/0.3432, allocations: 235 kB / 491.1 MB, free: 9.332 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.0006733/0.3439, allocations: 268.1 kB / 491.3 MB, free: 9.242 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.3445, allocations: 345.5 kB / 491.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.756e-05/0.3445, allocations: 6.438 kB / 491.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.3449, allocations: 262.1 kB / 491.9 MB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007553/0.3456, allocations: 225.5 kB / 492.2 MB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3476, allocations: 0.9514 MB / 493.1 MB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.3477, allocations: 129.4 kB / 493.2 MB, free: 8.387 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003991/0.3481, allocations: 112.2 kB / 493.3 MB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.3486, allocations: 231.6 kB / 493.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.3486, allocations: 0 / 493.6 MB, free: 8.285 MB / 410.7 MB Notification: Performance of Templates: time 0.02099/0.3696, allocations: 13.65 MB / 0.4953 GB, free: 2.605 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.753620008006692]