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.001343/0.001343, allocations: 114 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.4 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2203/0.2203, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 76.62 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1512, allocations: 62.44 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.448/0.5992, allocations: 161.5 MB / 0.6259 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004181/0.6034, allocations: 1.709 MB / 0.6276 GB, free: 452 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.6043, allocations: 15.88 kB / 0.6276 GB, free: 436 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.6054, allocations: 190.9 kB / 0.6278 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.6084, allocations: 0.717 MB / 0.6285 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.6105, allocations: 0.6243 MB / 0.6291 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.6123, allocations: 1.15 MB / 0.6302 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000677/0.613, allocations: 333.8 kB / 0.6305 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.6142, allocations: 470.3 kB / 0.631 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00074/0.615, allocations: 398.5 kB / 0.6314 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.6152, allocations: 44 kB / 0.6314 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.6165, allocations: 0.5343 MB / 0.6319 GB, free: 12 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003004/0.6168, allocations: 159.5 kB / 0.6321 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.6173, allocations: 266.8 kB / 0.6323 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.619, allocations: 0.9738 MB / 0.6333 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.619, allocations: 0 / 0.6333 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.619, allocations: 8 kB / 0.6333 GB, free: 10.6 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.6191, allocations: 0 / 0.6333 GB, free: 10.6 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.00216/0.6212, allocations: 0.8984 MB / 0.6342 GB, free: 9.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.6213, allocations: 9.109 kB / 0.6342 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/0.6218, allocations: 71.33 kB / 0.6343 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.6225, allocations: 398.3 kB / 0.6346 GB, free: 9.137 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.685e-05/0.6226, allocations: 58.7 kB / 0.6347 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.698e-05/0.6227, allocations: 43.92 kB / 0.6347 GB, free: 9.031 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.624, allocations: 0.5166 MB / 0.6352 GB, free: 8.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.624, allocations: 4 kB / 0.6352 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.6241, allocations: 23.97 kB / 0.6353 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.568e-05/0.6241, allocations: 20.59 kB / 0.6353 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.6251, allocations: 402.2 kB / 0.6357 GB, free: 8.031 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.003493/0.6286, allocations: 2.469 MB / 0.6381 GB, free: 5.383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/0.6295, allocations: 339.4 kB / 0.6384 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.6299, allocations: 157.3 kB / 0.6385 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.6299, allocations: 8.219 kB / 0.6386 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006062/0.6305, allocations: 277.7 kB / 0.6388 GB, free: 4.586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 4.308e-06/0.6305, allocations: 3.984 kB / 0.6388 GB, free: 4.582 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.01245/0.643, allocations: 3.238 MB / 0.642 GB, free: 1.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6431, allocations: 162.2 kB / 0.6421 GB, free: 1.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.6438, allocations: 393.4 kB / 0.6425 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.6439, allocations: 37.7 kB / 0.6426 GB, free: 0.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.6442, allocations: 256 kB / 0.6428 GB, free: 336 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.6444, allocations: 161.7 kB / 0.643 GB, free: 172 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.6446, allocations: 126.2 kB / 0.6431 GB, free: 40 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.6449, allocations: 358.8 kB / 0.6434 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.6455, allocations: 217.1 kB / 0.6436 GB, free: 15.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/0.6463, allocations: 409.1 kB / 0.644 GB, free: 14.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.6478, allocations: 0.6355 MB / 0.6446 GB, free: 14.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.6478, allocations: 0 / 0.6446 GB, free: 14.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002099/0.6499, allocations: 0.7948 MB / 0.6454 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.65, allocations: 37.69 kB / 0.6454 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.65, allocations: 4 kB / 0.6454 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.6505, allocations: 116.8 kB / 0.6456 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/0.6511, allocations: 139.7 kB / 0.6457 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.6517, allocations: 0.6772 MB / 0.6464 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.6523, allocations: 51.95 kB / 0.6464 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.6524, allocations: 47.98 kB / 0.6464 GB, free: 12.37 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.0003475/0.6528, allocations: 208.6 kB / 0.6466 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.6529, allocations: 47.44 kB / 0.6467 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.6549, allocations: 0.7311 MB / 0.6474 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6549, allocations: 4 kB / 0.6474 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.655, allocations: 0 / 0.6474 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.655, allocations: 7.922 kB / 0.6474 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6576, allocations: 1.288 MB / 0.6487 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6577, allocations: 0.875 kB / 0.6487 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.6581, allocations: 103.9 kB / 0.6488 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005887/0.6587, allocations: 109 kB / 0.6489 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.6588, allocations: 23.92 kB / 0.6489 GB, free: 9.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.6607, allocations: 1.807 MB / 0.6507 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6607, allocations: 4.031 kB / 0.6507 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.6631, allocations: 0.9735 MB / 0.6516 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.6634, allocations: 168.5 kB / 0.6518 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6635, allocations: 12 kB / 0.6518 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.6641, allocations: 51.94 kB / 0.6518 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.6642, allocations: 55.86 kB / 0.6519 GB, free: 6.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.6643, allocations: 40.86 kB / 0.6519 GB, free: 6.453 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003316/0.6646, allocations: 271.2 kB / 0.6522 GB, free: 6.191 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6647, allocations: 0 / 0.6522 GB, free: 6.191 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009673/0.6656, allocations: 235.9 kB / 0.6524 GB, free: 5.961 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.001029/0.6667, allocations: 313.3 kB / 0.6527 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.6684, allocations: 0.6342 MB / 0.6533 GB, free: 5.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6684, allocations: 4 kB / 0.6533 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/0.6693, allocations: 410.8 kB / 0.6537 GB, free: 4.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6704, allocations: 218.8 kB / 0.6539 GB, free: 4.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.6727, allocations: 1.335 MB / 0.6552 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.6732, allocations: 0.8514 MB / 0.6561 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000704/0.6739, allocations: 148.6 kB / 0.6562 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.6742, allocations: 79.36 kB / 0.6563 GB, free: 1.906 MB / 494.1 MB Notification: Performance of SimCode: time 2.945e-06/0.6742, allocations: 0 / 0.6563 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Templates: time 0.02542/0.6996, allocations: 13.08 MB / 0.6691 GB, free: 4.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches