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.001069/0.001069, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001038/0.001038, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9259/0.9259, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.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.1275/0.1275, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.683e-06/1.683e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.764e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2806/0.2806, allocations: 145.4 MB / 444.5 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.2855, allocations: 4.105 MB / 448.7 MB, free: 8.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.2858, allocations: 23.81 kB / 448.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.2863, allocations: 170.8 kB / 448.8 MB, free: 8.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.2882, allocations: 0.8274 MB / 449.7 MB, free: 7.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.2893, allocations: 0.6194 MB / 450.3 MB, free: 6.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008905/0.2902, allocations: 1.177 MB / 451.5 MB, free: 5.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.2905, allocations: 307.1 kB / 451.8 MB, free: 5.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.2912, allocations: 0.6038 MB / 452.4 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.2915, allocations: 327 kB / 452.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.928e-05/0.2916, allocations: 44 kB / 452.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007317/0.2923, allocations: 0.542 MB / 453.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2925, allocations: 167.5 kB / 453.4 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.2926, allocations: 191.5 kB / 453.6 MB, free: 3.238 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008233/0.2934, allocations: 0.8451 MB / 454.5 MB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2934, allocations: 0 / 454.5 MB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2934, allocations: 7.922 kB / 454.5 MB, free: 2.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.2934, allocations: 0 / 454.5 MB, free: 2.383 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.0009932/0.2944, allocations: 0.7933 MB / 455.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2945, allocations: 8.031 kB / 455.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.2948, allocations: 108.7 kB / 455.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.2952, allocations: 320.2 kB / 455.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.2952, allocations: 88.95 kB / 455.8 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/0.2953, allocations: 44.12 kB / 455.8 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.2958, allocations: 0.6382 MB / 456.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2958, allocations: 4 kB / 456.5 MB, free: 216 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2958, allocations: 16 kB / 456.5 MB, free: 200 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.2959, allocations: 16.66 kB / 456.5 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.296, allocations: 143.2 kB / 456.6 MB, free: 36 kB / 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.1998/0.4958, allocations: 1.575 MB / 458.2 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.4961, allocations: 159.3 kB / 458.4 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.4962, allocations: 63.58 kB / 458.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4962, allocations: 7.406 kB / 458.4 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.4965, allocations: 303.3 kB / 458.7 MB, free: 9.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.4965, allocations: 0 / 458.7 MB, free: 9.707 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.005061/0.5015, allocations: 1.79 MB / 460.5 MB, free: 9.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5016, allocations: 110.3 kB / 460.6 MB, free: 9.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.5019, allocations: 345.4 kB / 461 MB, free: 9.035 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5019, allocations: 38.3 kB / 461 MB, free: 9.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.502, allocations: 228.4 kB / 461.2 MB, free: 8.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.5021, allocations: 171.3 kB / 461.4 MB, free: 8.781 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.5023, allocations: 109.7 kB / 461.5 MB, free: 8.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.164e-05/0.5024, allocations: 362 kB / 461.9 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.5025, allocations: 85.86 kB / 461.9 MB, free: 8.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.5027, allocations: 315 kB / 462.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.5031, allocations: 374 kB / 462.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5031, allocations: 1.594 kB / 462.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006309/0.5037, allocations: 440.9 kB / 463.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.5037, allocations: 34.77 kB / 463.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5037, allocations: 5.156 kB / 463.1 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.504, allocations: 88.55 kB / 463.2 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.5043, allocations: 136.2 kB / 463.3 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002722/0.5046, allocations: 0.5736 MB / 463.9 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.5048, allocations: 28.25 kB / 463.9 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.5048, allocations: 35.45 kB / 463.9 MB, free: 7.219 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.0001349/0.505, allocations: 153.6 kB / 464.1 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.505, allocations: 43.84 kB / 464.1 MB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005539/0.5056, allocations: 372 kB / 464.5 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5056, allocations: 5.562 kB / 464.5 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5056, allocations: 1.688 kB / 464.5 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5056, allocations: 3.094 kB / 464.5 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.5066, allocations: 0.6356 MB / 465.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5066, allocations: 2.406 kB / 465.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.5068, allocations: 92.81 kB / 465.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.5071, allocations: 93.11 kB / 465.3 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.5071, allocations: 11.05 kB / 465.3 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007839/0.5079, allocations: 1.359 MB / 466.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5079, allocations: 2.531 kB / 466.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.5085, allocations: 485.2 kB / 467.2 MB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5086, allocations: 52.84 kB / 467.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.5086, allocations: 11.94 kB / 467.2 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.5088, allocations: 25.48 kB / 467.3 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.5089, allocations: 59.97 kB / 467.3 MB, free: 5.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.509, allocations: 25.62 kB / 467.3 MB, free: 5.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001259/0.5091, allocations: 129.1 kB / 467.5 MB, free: 5.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5091, allocations: 2.203 kB / 467.5 MB, free: 5.371 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007/0.5098, allocations: 240.1 kB / 467.7 MB, free: 5.367 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.0006697/0.5104, allocations: 312 kB / 468 MB, free: 5.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005107/0.511, allocations: 345.5 kB / 468.4 MB, free: 5.168 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/0.511, allocations: 9.516 kB / 468.4 MB, free: 5.168 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.5112, allocations: 262.4 kB / 468.6 MB, free: 5.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.5117, allocations: 212.5 kB / 468.8 MB, free: 5.023 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.5131, allocations: 0.9554 MB / 469.8 MB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.5132, allocations: 131.6 kB / 469.9 MB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000279/0.5135, allocations: 109.9 kB / 470 MB, free: 4.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.5138, allocations: 228.1 kB / 470.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5138, allocations: 0 / 470.2 MB, free: 4.406 MB / 410.7 MB Notification: Performance of Templates: time 0.01628/0.5301, allocations: 13.99 MB / 484.2 MB, free: 3.121 MB / 410.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -emit_protected -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.7256596637889743]