Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001831/0.001831, allocations: 170.8 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007723/0.0007724, allocations: 82.75 kB / 270.8 MB, free: 8.129 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3157/0.3157, allocations: 43.67 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003044, allocations: 12 kB / 432.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 58.85 MB / 491.2 MB, free: 9.809 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3391/0.446, allocations: 153.8 MB / 0.6298 GB, free: 11.44 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007105/0.4532, allocations: 6.675 MB / 0.6364 GB, free: 4.141 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.4539, allocations: 19.81 kB / 0.6364 GB, free: 4.121 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007312/0.4547, allocations: 182.9 kB / 0.6366 GB, free: 3.941 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.4571, allocations: 0.7371 MB / 0.6373 GB, free: 3.203 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.459, allocations: 0.577 MB / 0.6378 GB, free: 2.625 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.4608, allocations: 1.591 MB / 0.6394 GB, free: 1.031 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.4615, allocations: 280.2 kB / 0.6397 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.4625, allocations: 426.3 kB / 0.6401 GB, free: 348 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.4632, allocations: 370.6 kB / 0.6404 GB, free: 15.97 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.4633, allocations: 27.91 kB / 0.6405 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.4647, allocations: 0.4913 MB / 0.6409 GB, free: 15.46 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.4649, allocations: 135.5 kB / 0.6411 GB, free: 15.32 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.4653, allocations: 276.4 kB / 0.6413 GB, free: 15.05 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.467, allocations: 0.9527 MB / 0.6423 GB, free: 14.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.467, allocations: 0 / 0.6423 GB, free: 14.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.467, allocations: 0 / 0.6423 GB, free: 14.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.518e-05/0.467, allocations: 0 / 0.6423 GB, free: 14.09 MB / 474.7 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.001828/0.4689, allocations: 0.8147 MB / 0.643 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4689, allocations: 12.03 kB / 0.6431 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.4694, allocations: 67.42 kB / 0.6431 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.4702, allocations: 398.3 kB / 0.6435 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.4703, allocations: 66.67 kB / 0.6436 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.144e-05/0.4704, allocations: 39.91 kB / 0.6436 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.4714, allocations: 0.5283 MB / 0.6441 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.4715, allocations: 0 / 0.6441 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.4715, allocations: 16 kB / 0.6441 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.4716, allocations: 28.58 kB / 0.6442 GB, free: 11.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/0.4725, allocations: 422.2 kB / 0.6446 GB, free: 11.58 MB / 474.7 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.003295/0.4758, allocations: 2.515 MB / 0.647 GB, free: 8.887 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.4767, allocations: 368 kB / 0.6474 GB, free: 8.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.4771, allocations: 173.3 kB / 0.6475 GB, free: 8.348 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.697e-05/0.4772, allocations: 4.281 kB / 0.6475 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/0.4779, allocations: 288.1 kB / 0.6478 GB, free: 8.039 MB / 474.7 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/0.4779, allocations: 0 / 0.6478 GB, free: 8.039 MB / 474.7 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.01168/0.4896, allocations: 3.592 MB / 0.6513 GB, free: 4.324 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.4897, allocations: 158.2 kB / 0.6515 GB, free: 4.133 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.4902, allocations: 389.4 kB / 0.6518 GB, free: 3.742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.4902, allocations: 33.7 kB / 0.6519 GB, free: 3.703 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4904, allocations: 256 kB / 0.6521 GB, free: 3.449 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4905, allocations: 165.6 kB / 0.6523 GB, free: 3.285 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.4906, allocations: 8 kB / 0.6523 GB, free: 3.277 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4907, allocations: 362.8 kB / 0.6526 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.4913, allocations: 241.1 kB / 0.6529 GB, free: 2.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.492, allocations: 425.1 kB / 0.6533 GB, free: 2.184 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.4933, allocations: 0.6902 MB / 0.6539 GB, free: 1.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4933, allocations: 0 / 0.6539 GB, free: 1.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0018/0.4951, allocations: 0.8138 MB / 0.6547 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.4952, allocations: 33.7 kB / 0.6548 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4952, allocations: 8 kB / 0.6548 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/0.4956, allocations: 129.4 kB / 0.6549 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4962, allocations: 143.8 kB / 0.655 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005601/0.4968, allocations: 0.678 MB / 0.6557 GB, free: 15.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/0.4974, allocations: 68.02 kB / 0.6558 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.423e-05/0.4974, allocations: 47.86 kB / 0.6558 GB, free: 15.46 MB / 490.7 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.0002862/0.4977, allocations: 194.3 kB / 0.656 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4979, allocations: 55.36 kB / 0.6561 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.4999, allocations: 0.7796 MB / 0.6568 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.5, allocations: 8 kB / 0.6568 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5, allocations: 0 / 0.6568 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5, allocations: 3.984 kB / 0.6568 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.5025, allocations: 1.331 MB / 0.6581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5026, allocations: 0 / 0.6581 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.5031, allocations: 119.8 kB / 0.6582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005841/0.5037, allocations: 100.9 kB / 0.6583 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.5037, allocations: 19.98 kB / 0.6584 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.5055, allocations: 1.693 MB / 0.66 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5055, allocations: 4.031 kB / 0.66 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.5078, allocations: 1.04 MB / 0.661 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.5081, allocations: 168.5 kB / 0.6612 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5082, allocations: 16 kB / 0.6612 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.5087, allocations: 63.88 kB / 0.6613 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.5089, allocations: 59.92 kB / 0.6613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.509, allocations: 35.98 kB / 0.6614 GB, free: 9.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002953/0.5093, allocations: 271.1 kB / 0.6616 GB, free: 9.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.553e-06/0.5093, allocations: 0 / 0.6616 GB, free: 9.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007853/0.5101, allocations: 239.9 kB / 0.6618 GB, free: 8.996 MB / 490.7 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.0008292/0.5109, allocations: 330.8 kB / 0.6622 GB, free: 8.676 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.5124, allocations: 0.6565 MB / 0.6628 GB, free: 8.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5124, allocations: 0 / 0.6628 GB, free: 8.012 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.5132, allocations: 435.4 kB / 0.6632 GB, free: 7.578 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5143, allocations: 200.8 kB / 0.6634 GB, free: 7.387 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.5163, allocations: 1.436 MB / 0.6648 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5166, allocations: 0.8553 MB / 0.6656 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006717/0.5173, allocations: 152.6 kB / 0.6658 GB, free: 4.875 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.5176, allocations: 75.41 kB / 0.6659 GB, free: 4.801 MB / 490.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5176, allocations: 0 / 0.6659 GB, free: 4.801 MB / 490.7 MB Notification: Performance of Templates: time 0.2178/0.7354, allocations: 12.9 MB / 0.6785 GB, free: 149.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches