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.001162/0.001162, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00115/0.00115, allocations: 194 kB / 18.12 MB, free: 5.383 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.376/1.376, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.3045/0.3045, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.56 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 60.83 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.475/0.6069, allocations: 158.5 MB / 0.6123 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.6106, allocations: 1.759 MB / 0.614 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.6113, allocations: 15.88 kB / 0.614 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.6121, allocations: 183 kB / 0.6142 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.6144, allocations: 0.6902 MB / 0.6149 GB, free: 88 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.6164, allocations: 0.5775 MB / 0.6154 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.6187, allocations: 1.599 MB / 0.617 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.6193, allocations: 290.6 kB / 0.6173 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.6204, allocations: 414.3 kB / 0.6177 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007662/0.6212, allocations: 390.4 kB / 0.6181 GB, free: 12.83 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.6213, allocations: 28 kB / 0.6181 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.6226, allocations: 499.1 kB / 0.6186 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.6229, allocations: 147.5 kB / 0.6187 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.6233, allocations: 250.8 kB / 0.6189 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.625, allocations: 0.9348 MB / 0.6199 GB, free: 10.99 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.625, allocations: 4 kB / 0.6199 GB, free: 10.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.625, allocations: 0 / 0.6199 GB, free: 10.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.722e-05/0.6251, allocations: 4 kB / 0.6199 GB, free: 10.98 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.002278/0.6274, allocations: 0.8905 MB / 0.6207 GB, free: 10.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.6274, allocations: 12.03 kB / 0.6207 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005095/0.6279, allocations: 75.33 kB / 0.6208 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.6287, allocations: 394.4 kB / 0.6212 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.6288, allocations: 54.7 kB / 0.6212 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.6289, allocations: 35.94 kB / 0.6213 GB, free: 9.426 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6301, allocations: 0.5476 MB / 0.6218 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.6301, allocations: 0 / 0.6218 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.6302, allocations: 20 kB / 0.6218 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.6303, allocations: 12.66 kB / 0.6218 GB, free: 8.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.6313, allocations: 406.2 kB / 0.6222 GB, free: 8.406 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.003555/0.6348, allocations: 2.483 MB / 0.6247 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.6357, allocations: 351.3 kB / 0.625 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.6361, allocations: 165.3 kB / 0.6251 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.6362, allocations: 8.219 kB / 0.6252 GB, free: 5.219 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.6368, allocations: 260.8 kB / 0.6254 GB, free: 4.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 3.867e-06/0.6368, allocations: 4 kB / 0.6254 GB, free: 4.938 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.01241/0.6492, allocations: 3.246 MB / 0.6286 GB, free: 1.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.6494, allocations: 170.1 kB / 0.6287 GB, free: 1.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.6499, allocations: 381.6 kB / 0.6291 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.6499, allocations: 37.7 kB / 0.6291 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.6502, allocations: 260 kB / 0.6294 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.6503, allocations: 157.7 kB / 0.6295 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6505, allocations: 122.2 kB / 0.6297 GB, free: 412 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6507, allocations: 354.8 kB / 0.63 GB, free: 48 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.6513, allocations: 221.1 kB / 0.6302 GB, free: 15.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/0.6521, allocations: 409.1 kB / 0.6306 GB, free: 15.35 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.6534, allocations: 0.6394 MB / 0.6312 GB, free: 14.64 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6534, allocations: 4 kB / 0.6312 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002023/0.6555, allocations: 0.7908 MB / 0.632 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.6555, allocations: 37.8 kB / 0.632 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6555, allocations: 4 kB / 0.632 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/0.656, allocations: 117.6 kB / 0.6321 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.6566, allocations: 135.8 kB / 0.6323 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006572/0.6572, allocations: 0.6772 MB / 0.6329 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.6578, allocations: 55.94 kB / 0.633 GB, free: 12.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.6579, allocations: 47.98 kB / 0.633 GB, free: 12.72 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.0003106/0.6582, allocations: 201 kB / 0.6332 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6584, allocations: 47.44 kB / 0.6333 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/0.6604, allocations: 0.7303 MB / 0.634 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.6605, allocations: 11.97 kB / 0.634 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.6605, allocations: 0 / 0.634 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.6605, allocations: 11.92 kB / 0.634 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.6633, allocations: 1.274 MB / 0.6353 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6633, allocations: 160 / 0.6353 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.6638, allocations: 107.9 kB / 0.6354 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/0.6644, allocations: 100.8 kB / 0.6354 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.6645, allocations: 23.92 kB / 0.6355 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.6664, allocations: 1.687 MB / 0.6371 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6665, allocations: 3.938 kB / 0.6371 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.6688, allocations: 0.9852 MB / 0.6381 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.6692, allocations: 160.5 kB / 0.6382 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.6693, allocations: 15.94 kB / 0.6383 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.6698, allocations: 47.94 kB / 0.6383 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.67, allocations: 63.86 kB / 0.6384 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.6701, allocations: 35.98 kB / 0.6384 GB, free: 6.945 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003564/0.6705, allocations: 271.1 kB / 0.6387 GB, free: 6.684 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.784e-06/0.6705, allocations: 0 / 0.6387 GB, free: 6.684 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001026/0.6715, allocations: 239.9 kB / 0.6389 GB, free: 6.449 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.001399/0.6729, allocations: 297.2 kB / 0.6392 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.6751, allocations: 0.5994 MB / 0.6398 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.6752, allocations: 0 / 0.6398 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.6763, allocations: 418.8 kB / 0.6402 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6779, allocations: 203 kB / 0.6403 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6805, allocations: 1.32 MB / 0.6416 GB, free: 3.566 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.681, allocations: 0.8553 MB / 0.6425 GB, free: 2.684 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007613/0.6818, allocations: 156.8 kB / 0.6426 GB, free: 2.527 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.6821, allocations: 67.42 kB / 0.6427 GB, free: 2.461 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6821, allocations: 4 kB / 0.6427 GB, free: 2.457 MB / 478.1 MB Notification: Performance of Templates: time 0.02474/0.7068, allocations: 12.66 MB / 0.655 GB, free: 5.895 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 -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/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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches