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.0009685/0.0009686, allocations: 96.42 kB / 18.01 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009965/0.0009966, allocations: 208.2 kB / 18.94 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.198/0.198, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1046, allocations: 63.57 MB / 483.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3817/0.4864, allocations: 159.3 MB / 0.628 GB, free: 5.328 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.4898, allocations: 1.747 MB / 0.6297 GB, free: 3.578 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.4905, allocations: 15.88 kB / 0.6297 GB, free: 3.562 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006075/0.4911, allocations: 190.9 kB / 0.6299 GB, free: 3.375 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.4931, allocations: 0.6867 MB / 0.6306 GB, free: 2.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.4947, allocations: 0.586 MB / 0.6311 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001684/0.4964, allocations: 1.603 MB / 0.6327 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.4969, allocations: 278.1 kB / 0.633 GB, free: 240 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.4978, allocations: 426.3 kB / 0.6334 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.4984, allocations: 390.4 kB / 0.6337 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.4985, allocations: 24 kB / 0.6338 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.4995, allocations: 495.2 kB / 0.6342 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4997, allocations: 143.5 kB / 0.6344 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.5, allocations: 268.5 kB / 0.6346 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008642/0.5009, allocations: 0.6976 MB / 0.6353 GB, free: 13.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5009, allocations: 4 kB / 0.6353 GB, free: 13.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5009, allocations: 0 / 0.6353 GB, free: 13.81 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.5009, allocations: 0 / 0.6353 GB, free: 13.81 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.001623/0.5026, allocations: 0.8088 MB / 0.6361 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5026, allocations: 9.109 kB / 0.6361 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004032/0.503, allocations: 75.33 kB / 0.6362 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.5036, allocations: 394.4 kB / 0.6366 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.5037, allocations: 62.69 kB / 0.6366 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-05/0.5038, allocations: 43.88 kB / 0.6367 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009853/0.5048, allocations: 0.5322 MB / 0.6372 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5048, allocations: 7.625 kB / 0.6372 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.5049, allocations: 16 kB / 0.6372 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.5049, allocations: 20.66 kB / 0.6372 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009383/0.5058, allocations: 422.2 kB / 0.6376 GB, free: 11.3 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.003141/0.509, allocations: 2.497 MB / 0.6401 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000853/0.5099, allocations: 359.4 kB / 0.6404 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/0.5103, allocations: 181.2 kB / 0.6406 GB, free: 8.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.5103, allocations: 8.219 kB / 0.6406 GB, free: 8.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.5109, allocations: 276.8 kB / 0.6408 GB, free: 7.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.5109, allocations: 0 / 0.6408 GB, free: 7.793 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.0128/0.5237, allocations: 3.623 MB / 0.6444 GB, free: 4.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.5238, allocations: 162.2 kB / 0.6445 GB, free: 3.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.5243, allocations: 385.6 kB / 0.6449 GB, free: 3.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.5243, allocations: 37.7 kB / 0.6449 GB, free: 3.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.5245, allocations: 255.9 kB / 0.6452 GB, free: 3.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.5247, allocations: 153.8 kB / 0.6453 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.5248, allocations: 57.69 kB / 0.6454 GB, free: 2.941 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5249, allocations: 362.8 kB / 0.6457 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006579/0.5256, allocations: 241.1 kB / 0.646 GB, free: 2.344 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007725/0.5264, allocations: 433 kB / 0.6464 GB, free: 1.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.5278, allocations: 0.6825 MB / 0.647 GB, free: 1.086 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.5278, allocations: 7.938 kB / 0.6471 GB, free: 1.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002022/0.5298, allocations: 0.841 MB / 0.6479 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.5299, allocations: 33.7 kB / 0.6479 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5299, allocations: 4 kB / 0.6479 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.5306, allocations: 121.4 kB / 0.648 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007344/0.5314, allocations: 143.8 kB / 0.6482 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006803/0.5321, allocations: 0.6811 MB / 0.6488 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.5328, allocations: 68.02 kB / 0.6489 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.5329, allocations: 47.98 kB / 0.6489 GB, free: 15.1 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.0003416/0.5333, allocations: 193.6 kB / 0.6491 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.5334, allocations: 51.42 kB / 0.6492 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.5356, allocations: 0.7806 MB / 0.6499 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5356, allocations: 7.938 kB / 0.6499 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5356, allocations: 0 / 0.6499 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.5357, allocations: 3.984 kB / 0.6499 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.5384, allocations: 1.335 MB / 0.6512 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.5384, allocations: 4 kB / 0.6513 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.5389, allocations: 111.9 kB / 0.6514 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.5395, allocations: 112.9 kB / 0.6515 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/0.5395, allocations: 15.94 kB / 0.6515 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.5413, allocations: 1.695 MB / 0.6531 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5413, allocations: 11.95 kB / 0.6531 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.5437, allocations: 1.048 MB / 0.6542 GB, free: 9.457 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.544, allocations: 168.5 kB / 0.6543 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.662e-05/0.5441, allocations: 23.92 kB / 0.6544 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.5446, allocations: 55.95 kB / 0.6544 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.5447, allocations: 63.91 kB / 0.6545 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.5448, allocations: 31.98 kB / 0.6545 GB, free: 9.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.5451, allocations: 267.2 kB / 0.6548 GB, free: 8.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5451, allocations: 0 / 0.6548 GB, free: 8.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008094/0.5459, allocations: 236 kB / 0.655 GB, free: 8.613 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.0008668/0.5468, allocations: 305.7 kB / 0.6553 GB, free: 8.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.5484, allocations: 0.6461 MB / 0.6559 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5484, allocations: 0 / 0.6559 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009661/0.5494, allocations: 443.5 kB / 0.6563 GB, free: 7.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.5505, allocations: 200.8 kB / 0.6565 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.5527, allocations: 1.484 MB / 0.658 GB, free: 5.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.5531, allocations: 0.8553 MB / 0.6588 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.5534, allocations: 79.41 kB / 0.6589 GB, free: 4.527 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5534, allocations: 0 / 0.6589 GB, free: 4.527 MB / 494.1 MB Notification: Performance of Templates: time 0.01673/0.5702, allocations: 11.61 MB / 0.6702 GB, free: 8.961 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