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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 109.3 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 243 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 64.42 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1283, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3794/0.5077, allocations: 160.5 MB / 0.6164 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003068/0.5108, allocations: 1.664 MB / 0.618 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.5112, allocations: 15.88 kB / 0.618 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.5118, allocations: 214.6 kB / 0.6182 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.5138, allocations: 0.7698 MB / 0.619 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.5153, allocations: 0.6819 MB / 0.6196 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.5165, allocations: 1.15 MB / 0.6208 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.5169, allocations: 319.3 kB / 0.6211 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.5176, allocations: 470.3 kB / 0.6215 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004404/0.518, allocations: 386.4 kB / 0.6219 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.5181, allocations: 44 kB / 0.6219 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.5192, allocations: 0.5656 MB / 0.6225 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.5194, allocations: 159.5 kB / 0.6226 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.5197, allocations: 270.7 kB / 0.6229 GB, free: 8.988 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.5208, allocations: 0.9622 MB / 0.6238 GB, free: 8.023 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5208, allocations: 7.875 kB / 0.6238 GB, free: 8.016 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5208, allocations: 0 / 0.6238 GB, free: 8.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.5208, allocations: 0 / 0.6238 GB, free: 8.016 MB / 462.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.001808/0.5226, allocations: 0.8989 MB / 0.6247 GB, free: 7.062 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5227, allocations: 8.031 kB / 0.6247 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.5232, allocations: 71.33 kB / 0.6248 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.5239, allocations: 410.3 kB / 0.6252 GB, free: 6.539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.524, allocations: 62.69 kB / 0.6252 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.524, allocations: 43.92 kB / 0.6253 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.5249, allocations: 0.5244 MB / 0.6258 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.525, allocations: 0 / 0.6258 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.525, allocations: 20 kB / 0.6258 GB, free: 5.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5251, allocations: 16.66 kB / 0.6258 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.5259, allocations: 398.2 kB / 0.6262 GB, free: 5.441 MB / 462.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.00302/0.5289, allocations: 2.502 MB / 0.6287 GB, free: 2.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007519/0.5297, allocations: 342.9 kB / 0.629 GB, free: 2.418 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.5301, allocations: 161.3 kB / 0.6291 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.5301, allocations: 8.219 kB / 0.6291 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.5306, allocations: 269.4 kB / 0.6294 GB, free: 1.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 1.943e-06/0.5306, allocations: 0 / 0.6294 GB, free: 1.965 MB / 462.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.0106/0.5412, allocations: 3.233 MB / 0.6326 GB, free: 14.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.5413, allocations: 170.2 kB / 0.6327 GB, free: 14.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.5417, allocations: 393.5 kB / 0.6331 GB, free: 14.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.5418, allocations: 29.7 kB / 0.6331 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5419, allocations: 252 kB / 0.6334 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5421, allocations: 165.6 kB / 0.6335 GB, free: 13.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.5423, allocations: 126.2 kB / 0.6336 GB, free: 13.43 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5424, allocations: 358.8 kB / 0.634 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.5429, allocations: 221.1 kB / 0.6342 GB, free: 12.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006581/0.5436, allocations: 405.1 kB / 0.6346 GB, free: 12.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.5448, allocations: 0.6433 MB / 0.6352 GB, free: 11.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5448, allocations: 4 kB / 0.6352 GB, free: 11.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001713/0.5465, allocations: 0.7906 MB / 0.636 GB, free: 10.85 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.5466, allocations: 33.7 kB / 0.636 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5466, allocations: 7.938 kB / 0.636 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.547, allocations: 120.8 kB / 0.6361 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.5475, allocations: 132 kB / 0.6363 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005446/0.5481, allocations: 0.6772 MB / 0.6369 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.5485, allocations: 51.94 kB / 0.637 GB, free: 9.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.5486, allocations: 44 kB / 0.637 GB, free: 9.754 MB / 478.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.0002256/0.5488, allocations: 193.8 kB / 0.6372 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.5489, allocations: 51.48 kB / 0.6373 GB, free: 9.504 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/0.5507, allocations: 0.7327 MB / 0.638 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5507, allocations: 4 kB / 0.638 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5507, allocations: 4 kB / 0.638 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.5507, allocations: 8 kB / 0.638 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.5531, allocations: 1.277 MB / 0.6392 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5531, allocations: 4 kB / 0.6392 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.5536, allocations: 108 kB / 0.6393 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/0.5541, allocations: 96.75 kB / 0.6394 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.5542, allocations: 23.94 kB / 0.6395 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.5559, allocations: 1.817 MB / 0.6412 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5559, allocations: 8 kB / 0.6412 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.558, allocations: 0.9788 MB / 0.6422 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.5582, allocations: 156.5 kB / 0.6423 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.5583, allocations: 16 kB / 0.6424 GB, free: 3.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5588, allocations: 43.89 kB / 0.6424 GB, free: 3.949 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5589, allocations: 67.64 kB / 0.6425 GB, free: 3.883 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.559, allocations: 39.98 kB / 0.6425 GB, free: 3.844 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.5593, allocations: 275.1 kB / 0.6428 GB, free: 3.582 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5593, allocations: 0 / 0.6428 GB, free: 3.582 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007498/0.56, allocations: 231.9 kB / 0.643 GB, free: 3.355 MB / 478.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.0007192/0.5607, allocations: 306.2 kB / 0.6433 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.5621, allocations: 0.611 MB / 0.6439 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5621, allocations: 0 / 0.6439 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.5629, allocations: 410.2 kB / 0.6443 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009362/0.5639, allocations: 209.9 kB / 0.6445 GB, free: 1.82 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.5657, allocations: 1.143 MB / 0.6456 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.5661, allocations: 0.8591 MB / 0.6464 GB, free: 15.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004652/0.5666, allocations: 152.6 kB / 0.6466 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.5668, allocations: 75.42 kB / 0.6466 GB, free: 15.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.365e-06/0.5668, allocations: 0 / 0.6466 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Templates: time 0.02154/0.5883, allocations: 13.25 MB / 0.6596 GB, free: 2.379 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches