Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001107/0.001107, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.00274, allocations: 447.8 kB / 10.35 MB, free: 348 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.001496/0.001496, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00159/0.003086, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.009/1.009, allocations: 158.6 MB / 171 MB, free: 2.18 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1846/1.194, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1417/0.1417, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02502/0.1667, allocations: 12.29 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.572e-05, allocations: 2.312 kB / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3061/0.3061, allocations: 145.8 MB / 413 MB, free: 5.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.312, allocations: 4.123 MB / 417.2 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.3124, allocations: 23.81 kB / 417.2 MB, free: 1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004295/0.3129, allocations: 154.9 kB / 417.3 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3147, allocations: 0.8314 MB / 418.2 MB, free: 12 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.316, allocations: 0.6232 MB / 418.8 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3176, allocations: 1.193 MB / 420 MB, free: 14.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.3182, allocations: 301.2 kB / 420.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/0.3191, allocations: 0.6395 MB / 420.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004402/0.3195, allocations: 335 kB / 421.2 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.894e-05/0.3196, allocations: 44 kB / 421.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.3206, allocations: 0.5342 MB / 421.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.3207, allocations: 131.6 kB / 421.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.3209, allocations: 155.7 kB / 422.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009716/0.3219, allocations: 0.7283 MB / 422.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.3219, allocations: 0 / 422.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3219, allocations: 0 / 422.8 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.3219, allocations: 0 / 422.8 MB, free: 11.34 MB / 378.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.001236/0.3231, allocations: 0.9455 MB / 423.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.3232, allocations: 8.031 kB / 423.8 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.3235, allocations: 185.8 kB / 424 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.324, allocations: 320.2 kB / 424.3 MB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.3241, allocations: 92.94 kB / 424.4 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.3241, allocations: 40.38 kB / 424.4 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.3247, allocations: 0.6381 MB / 425 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3247, allocations: 8 kB / 425.1 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.3247, allocations: 19.98 kB / 425.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.3248, allocations: 16.64 kB / 425.1 MB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.325, allocations: 139.2 kB / 425.2 MB, free: 8.75 MB / 378.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.001881/0.3269, allocations: 1.586 MB / 426.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.3271, allocations: 165.8 kB / 427 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.3272, allocations: 61.06 kB / 427 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3272, allocations: 8.281 kB / 427 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.3275, allocations: 303 kB / 427.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.3275, allocations: 4 kB / 427.3 MB, free: 6.516 MB / 378.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.004374/0.3319, allocations: 1.765 MB / 429.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.3319, allocations: 59.41 kB / 429.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.3322, allocations: 348.8 kB / 429.5 MB, free: 4.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3322, allocations: 45.62 kB / 429.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3323, allocations: 225 kB / 429.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3324, allocations: 166.6 kB / 429.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3325, allocations: 110.2 kB / 430 MB, free: 3.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3327, allocations: 362.7 kB / 430.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3328, allocations: 86.98 kB / 430.5 MB, free: 3.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.333, allocations: 311.5 kB / 430.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.3333, allocations: 374.7 kB / 431.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3333, allocations: 0 / 431.1 MB, free: 2.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005854/0.3339, allocations: 438.1 kB / 431.6 MB, free: 1.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.334, allocations: 38.3 kB / 431.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.334, allocations: 8 kB / 431.6 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.3342, allocations: 76.78 kB / 431.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3346, allocations: 143.8 kB / 431.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/0.3349, allocations: 0.5672 MB / 432.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.3351, allocations: 31.97 kB / 432.4 MB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.3352, allocations: 32 kB / 432.5 MB, free: 1.031 MB / 378.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.0001367/0.3353, allocations: 152.4 kB / 432.6 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.3354, allocations: 43.95 kB / 432.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005909/0.336, allocations: 366 kB / 433 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.336, allocations: 8 kB / 433 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.336, allocations: 0 / 433 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.336, allocations: 3.984 kB / 433 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.3371, allocations: 0.6282 MB / 433.7 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3371, allocations: 4 kB / 433.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.3374, allocations: 98.44 kB / 433.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.3375, allocations: 47.7 kB / 433.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.3377, allocations: 92.84 kB / 433.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3378, allocations: 16 kB / 433.9 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008151/0.3386, allocations: 1.367 MB / 435.3 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3386, allocations: 7.922 kB / 435.3 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.3391, allocations: 473.2 kB / 435.7 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.3391, allocations: 15.94 kB / 435.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.3393, allocations: 31.97 kB / 435.8 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.3394, allocations: 59.81 kB / 435.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.3394, allocations: 19.98 kB / 435.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.3395, allocations: 136.7 kB / 436 MB, free: 13.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3395, allocations: 0 / 436 MB, free: 13.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005154/0.34, allocations: 239.7 kB / 436.2 MB, free: 13.06 MB / 394.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.0005756/0.3406, allocations: 337.6 kB / 436.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.341, allocations: 330.9 kB / 436.9 MB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/0.341, allocations: 13.25 kB / 436.9 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.3412, allocations: 272.6 kB / 437.2 MB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000529/0.3418, allocations: 263.3 kB / 437.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/0.3467, allocations: 0.9408 MB / 438.4 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.3468, allocations: 138.2 kB / 438.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003071/0.3471, allocations: 100.5 kB / 438.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.3475, allocations: 225.2 kB / 438.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3475, allocations: 0 / 438.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of Templates: time 0.01719/0.3647, allocations: 14.01 MB / 452.8 MB, free: 12.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.6264410074800253]