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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007744/0.0007744, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001817, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006572/0.0006572, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009674/0.001625, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9354/0.9354, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1696/1.105, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.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.1554/0.1554, allocations: 32.8 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02188/0.1773, allocations: 12.54 MB / 284.5 MB, free: 9.73 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.653e-06/1.653e-06, allocations: 0 / 285.8 MB, free: 8.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.035e-05, allocations: 2.312 kB / 285.8 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2934/0.2934, allocations: 144.7 MB / 430.5 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.2973, allocations: 1.687 MB / 432.2 MB, free: 5.855 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005482/0.2979, allocations: 19.81 kB / 432.2 MB, free: 5.836 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.2984, allocations: 162.8 kB / 432.4 MB, free: 5.676 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.3005, allocations: 0.773 MB / 433.1 MB, free: 4.898 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3022, allocations: 0.6183 MB / 433.8 MB, free: 4.281 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.3039, allocations: 1.201 MB / 435 MB, free: 3.078 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.3045, allocations: 302.2 kB / 435.3 MB, free: 2.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009232/0.3054, allocations: 0.6402 MB / 435.9 MB, free: 2.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.3059, allocations: 327 kB / 436.2 MB, free: 1.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.306, allocations: 44 kB / 436.3 MB, free: 1.777 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.308, allocations: 0.5068 MB / 436.8 MB, free: 1.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.3082, allocations: 143.5 kB / 436.9 MB, free: 1.129 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.3084, allocations: 151.8 kB / 437.1 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3097, allocations: 0.7167 MB / 437.8 MB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.3097, allocations: 0 / 437.8 MB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3097, allocations: 0 / 437.8 MB, free: 268 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3097, allocations: 0 / 437.8 MB, free: 268 kB / 394.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.001542/0.3113, allocations: 0.9382 MB / 438.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3113, allocations: 8.031 kB / 438.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005258/0.3118, allocations: 185.8 kB / 438.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/0.3124, allocations: 316.2 kB / 439.2 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/0.3125, allocations: 84.97 kB / 439.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.3126, allocations: 47.92 kB / 439.3 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.3133, allocations: 0.6488 MB / 440 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.3134, allocations: 7.953 kB / 440 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3134, allocations: 16 kB / 440 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.3134, allocations: 12.66 kB / 440 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.3137, allocations: 147.2 kB / 440.2 MB, free: 13.68 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.00197/0.3157, allocations: 1.575 MB / 441.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3159, allocations: 164.7 kB / 441.9 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.04e-05/0.316, allocations: 61.38 kB / 442 MB, free: 11.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.316, allocations: 8.281 kB / 442 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3163, allocations: 300.2 kB / 442.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.3163, allocations: 0 / 442.3 MB, free: 11.46 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.003706/0.32, allocations: 1.83 MB / 444.1 MB, free: 9.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.32, allocations: 59.39 kB / 444.2 MB, free: 9.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3202, allocations: 344.8 kB / 444.5 MB, free: 9.145 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.3202, allocations: 45.58 kB / 444.5 MB, free: 9.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3204, allocations: 225 kB / 444.8 MB, free: 8.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.75e-05/0.3205, allocations: 166.6 kB / 444.9 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.3206, allocations: 110.2 kB / 445 MB, free: 8.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3207, allocations: 366.7 kB / 445.4 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3208, allocations: 82.98 kB / 445.5 MB, free: 8.133 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.321, allocations: 315.5 kB / 445.8 MB, free: 7.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3213, allocations: 390.6 kB / 446.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3213, allocations: 0 / 446.2 MB, free: 7.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004548/0.3218, allocations: 434.8 kB / 446.6 MB, free: 6.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.3218, allocations: 37.69 kB / 446.6 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3218, allocations: 4 kB / 446.6 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.3221, allocations: 83.31 kB / 446.7 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.3223, allocations: 139.8 kB / 446.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002823/0.3226, allocations: 0.5656 MB / 447.4 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.3228, allocations: 37.41 kB / 447.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.3228, allocations: 24 kB / 447.5 MB, free: 5.914 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.0001365/0.323, allocations: 160.5 kB / 447.6 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.323, allocations: 43.95 kB / 447.7 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004976/0.3235, allocations: 364.1 kB / 448 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.3235, allocations: 8 kB / 448 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.3235, allocations: 0 / 448 MB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3235, allocations: 3.984 kB / 448 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007417/0.3243, allocations: 0.6295 MB / 448.7 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3243, allocations: 4 kB / 448.7 MB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.3245, allocations: 96.03 kB / 448.8 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-05/0.3246, allocations: 51.7 kB / 448.8 MB, free: 4.508 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/0.3248, allocations: 100.7 kB / 448.9 MB, free: 4.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.3249, allocations: 12 kB / 448.9 MB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008354/0.3257, allocations: 1.363 MB / 450.3 MB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3257, allocations: 3.938 kB / 450.3 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004974/0.3262, allocations: 484.7 kB / 450.8 MB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.3262, allocations: 12 kB / 450.8 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3264, allocations: 31.97 kB / 450.8 MB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.3265, allocations: 55.78 kB / 450.9 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3265, allocations: 23.92 kB / 450.9 MB, free: 2.301 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.592e-05/0.3266, allocations: 132.7 kB / 451 MB, free: 2.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 4 kB / 451 MB, free: 2.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004737/0.3271, allocations: 239.7 kB / 451.2 MB, free: 1.934 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.0005821/0.3277, allocations: 320.4 kB / 451.6 MB, free: 1.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.3281, allocations: 351.4 kB / 451.9 MB, free: 1.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/0.3281, allocations: 8.562 kB / 451.9 MB, free: 1.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.3284, allocations: 287.8 kB / 452.2 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.3292, allocations: 1.319 MB / 453.5 MB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.334, allocations: 0.9505 MB / 454.5 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.784e-05/0.3341, allocations: 130.2 kB / 454.6 MB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.3344, allocations: 104.5 kB / 454.7 MB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.3347, allocations: 233.1 kB / 454.9 MB, free: 13.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3347, allocations: 4 kB / 454.9 MB, free: 13.93 MB / 426.7 MB Notification: Performance of Templates: time 0.01488/0.3496, allocations: 13.61 MB / 468.5 MB, free: 0.5156 MB / 426.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.47157880384475]