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.0008798/0.0008798, 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.001071/0.001071, allocations: 169.9 kB / 24.91 MB, free: 9.184 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 0.9058/0.9058, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2487/0.2487, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.382e-06/1.382e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.789e-05, allocations: 3.891 kB / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3141/0.3142, allocations: 147.1 MB / 470.3 MB, free: 16.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.3168, allocations: 1.67 MB / 472 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.3171, allocations: 19.16 kB / 472 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.3175, allocations: 166.6 kB / 472.2 MB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002061/0.3196, allocations: 0.7995 MB / 473 MB, free: 16.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3209, allocations: 0.6401 MB / 473.6 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3221, allocations: 1.19 MB / 474.8 MB, free: 16.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.3226, allocations: 298.7 kB / 475.1 MB, free: 16.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000837/0.3234, allocations: 0.6149 MB / 475.7 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.3239, allocations: 327.5 kB / 476 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.324, allocations: 43.72 kB / 476.1 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009328/0.3249, allocations: 495 kB / 476.6 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.325, allocations: 174.5 kB / 476.7 MB, free: 16.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.3252, allocations: 193.7 kB / 476.9 MB, free: 16.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.3263, allocations: 0.8325 MB / 477.8 MB, free: 16.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3263, allocations: 0 / 477.8 MB, free: 16.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3263, allocations: 0 / 477.8 MB, free: 16.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3263, allocations: 0 / 477.8 MB, free: 16.44 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.00116/0.3275, allocations: 0.7947 MB / 478.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3275, allocations: 13.48 kB / 478.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.3278, allocations: 113.4 kB / 478.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3282, allocations: 319.8 kB / 479 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/0.3283, allocations: 85.42 kB / 479.1 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.3283, allocations: 53.23 kB / 479.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3288, allocations: 0.6061 MB / 479.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3288, allocations: 2.219 kB / 479.7 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.3288, allocations: 15.53 kB / 479.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3289, allocations: 19.12 kB / 479.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.329, allocations: 149.9 kB / 479.9 MB, free: 15.23 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.001389/0.3304, allocations: 1.578 MB / 481.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.3307, allocations: 160.8 kB / 481.7 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.884e-05/0.3307, allocations: 60.25 kB / 481.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.3308, allocations: 6.062 kB / 481.7 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.331, allocations: 304.8 kB / 482 MB, free: 13.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.331, allocations: 0 / 482 MB, free: 13.9 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.003882/0.3349, allocations: 1.795 MB / 483.8 MB, free: 13.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.3349, allocations: 112.6 kB / 483.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.3351, allocations: 344.8 kB / 484.3 MB, free: 13.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.3351, allocations: 39.91 kB / 484.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3352, allocations: 220.9 kB / 484.5 MB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.3353, allocations: 174.3 kB / 484.7 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3354, allocations: 112.2 kB / 484.8 MB, free: 12.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.827e-05/0.3354, allocations: 357.5 kB / 485.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.3355, allocations: 86.48 kB / 485.2 MB, free: 12.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3357, allocations: 321 kB / 485.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3359, allocations: 369.2 kB / 485.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3359, allocations: 0 / 485.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004899/0.3364, allocations: 436 kB / 486.3 MB, free: 11.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.3364, allocations: 40.36 kB / 486.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3364, allocations: 5.906 kB / 486.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.3367, allocations: 88.08 kB / 486.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3369, allocations: 120.2 kB / 486.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002112/0.3371, allocations: 0.5697 MB / 487.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.3373, allocations: 33.36 kB / 487.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3373, allocations: 34.36 kB / 487.2 MB, free: 11.29 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.0001248/0.3374, allocations: 153.6 kB / 487.4 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.3375, allocations: 45.16 kB / 487.4 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.338, allocations: 387.2 kB / 487.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.338, allocations: 2.812 kB / 487.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.338, allocations: 2.969 kB / 487.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.338, allocations: 2.25 kB / 487.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/0.3387, allocations: 0.6268 MB / 488.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3387, allocations: 6.75 kB / 488.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.3389, allocations: 82.47 kB / 488.5 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.3392, allocations: 91.64 kB / 488.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3392, allocations: 14.45 kB / 488.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/0.3398, allocations: 1.357 MB / 490 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3398, allocations: 6.594 kB / 490 MB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.3403, allocations: 482.5 kB / 490.4 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.3404, allocations: 57.83 kB / 490.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.3404, allocations: 12.69 kB / 490.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3406, allocations: 27.3 kB / 490.5 MB, free: 9.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.3407, allocations: 61.14 kB / 490.6 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.3407, allocations: 23.72 kB / 490.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.165e-05/0.3408, allocations: 131.3 kB / 490.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3408, allocations: 2.219 kB / 490.7 MB, free: 9.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.3413, allocations: 235.8 kB / 491 MB, free: 9.359 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.0004107/0.3417, allocations: 273.9 kB / 491.2 MB, free: 9.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.3421, allocations: 344.3 kB / 491.6 MB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.3421, allocations: 6.781 kB / 491.6 MB, free: 9.148 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3423, allocations: 267.1 kB / 491.8 MB, free: 9.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3428, allocations: 218.2 kB / 492.1 MB, free: 8.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3441, allocations: 0.9537 MB / 493 MB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.3441, allocations: 128.8 kB / 493.1 MB, free: 8.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.3444, allocations: 109.1 kB / 493.2 MB, free: 8.367 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.3448, allocations: 228.2 kB / 493.5 MB, free: 8.316 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3448, allocations: 0 / 493.5 MB, free: 8.316 MB / 410.7 MB Notification: Performance of Templates: time 0.01543/0.3602, allocations: 13.61 MB / 0.4952 GB, free: 2.672 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 -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.627008212264627]