Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 107.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001434/0.001435, allocations: 209.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2505/0.2505, allocations: 46.11 MB / 344.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002393, allocations: 77.94 kB / 417.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1257, allocations: 62.45 MB / 480.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4161/0.5419, allocations: 161.5 MB / 0.6266 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.5457, allocations: 1.722 MB / 0.6283 GB, free: 388 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005796/0.5463, allocations: 19.81 kB / 0.6283 GB, free: 368 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.5471, allocations: 187 kB / 0.6285 GB, free: 180 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.5495, allocations: 0.7217 MB / 0.6292 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.5513, allocations: 0.6108 MB / 0.6298 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001677/0.553, allocations: 1.158 MB / 0.6309 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.5536, allocations: 318 kB / 0.6312 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.5546, allocations: 482.2 kB / 0.6317 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.5552, allocations: 390.5 kB / 0.6321 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.432e-05/0.5553, allocations: 44 kB / 0.6321 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.5565, allocations: 0.5382 MB / 0.6326 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.5567, allocations: 155.5 kB / 0.6328 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.5571, allocations: 274.8 kB / 0.6331 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.5582, allocations: 0.7132 MB / 0.6338 GB, free: 10.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5582, allocations: 0 / 0.6338 GB, free: 10.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5583, allocations: 4 kB / 0.6338 GB, free: 10.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5583, allocations: 0 / 0.6338 GB, free: 10.8 MB / 478.1 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.00206/0.5603, allocations: 0.8984 MB / 0.6346 GB, free: 9.844 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5604, allocations: 13.09 kB / 0.6346 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004258/0.5608, allocations: 75.33 kB / 0.6347 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.5614, allocations: 390.4 kB / 0.6351 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.5615, allocations: 58.7 kB / 0.6351 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.5616, allocations: 39.94 kB / 0.6352 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5627, allocations: 0.5283 MB / 0.6357 GB, free: 8.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.5627, allocations: 3.938 kB / 0.6357 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.222e-05/0.5628, allocations: 12 kB / 0.6357 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.5628, allocations: 24.66 kB / 0.6357 GB, free: 8.625 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009442/0.5638, allocations: 394.2 kB / 0.6361 GB, free: 8.238 MB / 478.1 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.003584/0.5674, allocations: 2.485 MB / 0.6385 GB, free: 5.574 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.5682, allocations: 347.3 kB / 0.6389 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.5686, allocations: 157.3 kB / 0.639 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.5687, allocations: 8.219 kB / 0.639 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.5693, allocations: 268.8 kB / 0.6393 GB, free: 4.785 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.5693, allocations: 0 / 0.6393 GB, free: 4.785 MB / 478.1 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.01285/0.5822, allocations: 3.245 MB / 0.6425 GB, free: 1.41 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5824, allocations: 162.2 kB / 0.6426 GB, free: 1.215 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.5829, allocations: 389.5 kB / 0.643 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/0.583, allocations: 37.7 kB / 0.643 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.5832, allocations: 260 kB / 0.6433 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5834, allocations: 165.7 kB / 0.6434 GB, free: 368 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.5836, allocations: 122.2 kB / 0.6435 GB, free: 240 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.5838, allocations: 354.8 kB / 0.6439 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.5845, allocations: 213.2 kB / 0.6441 GB, free: 15.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.5853, allocations: 417.1 kB / 0.6445 GB, free: 15.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.5866, allocations: 0.6355 MB / 0.6451 GB, free: 14.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5866, allocations: 2.875 kB / 0.6451 GB, free: 14.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002022/0.5887, allocations: 0.7908 MB / 0.6459 GB, free: 13.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.5887, allocations: 37.73 kB / 0.6459 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.5887, allocations: 7.938 kB / 0.6459 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.5892, allocations: 112.8 kB / 0.646 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.5898, allocations: 135.8 kB / 0.6462 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006796/0.5905, allocations: 0.6772 MB / 0.6468 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.5911, allocations: 55.94 kB / 0.6469 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.5912, allocations: 40 kB / 0.6469 GB, free: 12.57 MB / 494.1 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.regularFlow[1],sweptVolume.inFlow[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.0003564/0.5916, allocations: 208.1 kB / 0.6471 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5917, allocations: 51.47 kB / 0.6472 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.5937, allocations: 0.7298 MB / 0.6479 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5938, allocations: 4 kB / 0.6479 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5938, allocations: 0 / 0.6479 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5938, allocations: 3.984 kB / 0.6479 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.5966, allocations: 1.289 MB / 0.6491 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5967, allocations: 0 / 0.6491 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/0.5972, allocations: 103.9 kB / 0.6492 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006184/0.5978, allocations: 108.9 kB / 0.6493 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.5979, allocations: 23.92 kB / 0.6494 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.6001, allocations: 1.818 MB / 0.6511 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6001, allocations: 3.938 kB / 0.6511 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.6025, allocations: 0.9697 MB / 0.6521 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.6029, allocations: 164.5 kB / 0.6522 GB, free: 6.812 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.603, allocations: 12 kB / 0.6523 GB, free: 6.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.6035, allocations: 51.94 kB / 0.6523 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.6037, allocations: 59.92 kB / 0.6524 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.267e-05/0.6037, allocations: 35.98 kB / 0.6524 GB, free: 6.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003494/0.6041, allocations: 279.1 kB / 0.6527 GB, free: 6.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6041, allocations: 0 / 0.6527 GB, free: 6.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008657/0.605, allocations: 239.9 kB / 0.6529 GB, free: 6.152 MB / 494.1 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 (41): * Single equations (assignments): 38 * 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.0009038/0.6059, allocations: 302 kB / 0.6532 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.6077, allocations: 0.6304 MB / 0.6538 GB, free: 5.215 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.6077, allocations: 8 kB / 0.6538 GB, free: 5.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.6086, allocations: 414.7 kB / 0.6542 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.6098, allocations: 217.3 kB / 0.6544 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.6123, allocations: 1.363 MB / 0.6557 GB, free: 3.172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.6128, allocations: 0.8553 MB / 0.6566 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.6131, allocations: 79.42 kB / 0.6567 GB, free: 2.211 MB / 494.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6132, allocations: 0 / 0.6567 GB, free: 2.211 MB / 494.1 MB Notification: Performance of Templates: time 0.01888/0.632, allocations: 11.68 MB / 0.6681 GB, free: 6.582 MB / 0.4981 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches