Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 94.3 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3317/0.3317, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009915/0.0009915, allocations: 55.91 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1215, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4313/0.5529, allocations: 161.4 MB / 0.6332 GB, free: 416 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006011/0.559, allocations: 4.272 MB / 0.6374 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004612/0.5595, allocations: 15.88 kB / 0.6374 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.5602, allocations: 179 kB / 0.6376 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5623, allocations: 0.7377 MB / 0.6383 GB, free: 11.21 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.5639, allocations: 0.5919 MB / 0.6389 GB, free: 10.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.5654, allocations: 1.607 MB / 0.6405 GB, free: 9.012 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.5658, allocations: 279.4 kB / 0.6407 GB, free: 8.742 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006262/0.5665, allocations: 426.3 kB / 0.6411 GB, free: 8.324 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004363/0.5669, allocations: 386.4 kB / 0.6415 GB, free: 7.945 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.371e-05/0.567, allocations: 24 kB / 0.6415 GB, free: 7.922 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.568, allocations: 0.5187 MB / 0.642 GB, free: 7.402 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.5682, allocations: 151.5 kB / 0.6422 GB, free: 7.254 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.5684, allocations: 250.8 kB / 0.6424 GB, free: 7.008 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.5695, allocations: 0.9504 MB / 0.6434 GB, free: 6.055 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5695, allocations: 0 / 0.6434 GB, free: 6.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5695, allocations: 0 / 0.6434 GB, free: 6.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.5695, allocations: 0 / 0.6434 GB, free: 6.055 MB / 458.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.001695/0.5712, allocations: 0.9081 MB / 0.6442 GB, free: 5.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5713, allocations: 12.03 kB / 0.6443 GB, free: 5.078 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/0.5716, allocations: 67.42 kB / 0.6443 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.5722, allocations: 398.3 kB / 0.6447 GB, free: 4.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.5723, allocations: 54.7 kB / 0.6448 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.5724, allocations: 51.89 kB / 0.6448 GB, free: 4.473 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009122/0.5733, allocations: 0.5166 MB / 0.6453 GB, free: 3.914 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5733, allocations: 3.984 kB / 0.6453 GB, free: 3.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/0.5734, allocations: 20 kB / 0.6453 GB, free: 3.891 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.5734, allocations: 20.58 kB / 0.6453 GB, free: 3.867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008645/0.5743, allocations: 402.2 kB / 0.6457 GB, free: 3.477 MB / 458.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.003002/0.5773, allocations: 2.486 MB / 0.6482 GB, free: 0.8047 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007761/0.5781, allocations: 345.5 kB / 0.6485 GB, free: 472 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.5785, allocations: 166 kB / 0.6486 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.5785, allocations: 8.219 kB / 0.6487 GB, free: 296 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005291/0.5791, allocations: 268.1 kB / 0.6489 GB, free: 4 kB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 2.745e-06/0.5791, allocations: 4 kB / 0.6489 GB, free: 0 / 458.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.01132/0.5904, allocations: 3.233 MB / 0.6521 GB, free: 12.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.546e-05/0.5905, allocations: 166.2 kB / 0.6522 GB, free: 12.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.5909, allocations: 385.5 kB / 0.6526 GB, free: 12.06 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.591, allocations: 33.7 kB / 0.6526 GB, free: 12.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.5912, allocations: 263.9 kB / 0.6529 GB, free: 11.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.5913, allocations: 165.6 kB / 0.653 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.5915, allocations: 118.3 kB / 0.6532 GB, free: 11.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5916, allocations: 354.8 kB / 0.6535 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.5922, allocations: 221.1 kB / 0.6537 GB, free: 10.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.5929, allocations: 405.1 kB / 0.6541 GB, free: 10.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.5942, allocations: 0.6356 MB / 0.6547 GB, free: 9.715 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5942, allocations: 4 kB / 0.6547 GB, free: 9.711 MB / 474.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001803/0.596, allocations: 0.7908 MB / 0.6555 GB, free: 8.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.5961, allocations: 37.73 kB / 0.6555 GB, free: 8.859 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5961, allocations: 7.984 kB / 0.6555 GB, free: 8.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.5965, allocations: 121.5 kB / 0.6556 GB, free: 8.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.5971, allocations: 139.8 kB / 0.6558 GB, free: 8.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005533/0.5976, allocations: 0.6733 MB / 0.6564 GB, free: 7.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.5981, allocations: 59.89 kB / 0.6565 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.5982, allocations: 43.98 kB / 0.6565 GB, free: 7.793 MB / 474.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 (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.000258/0.5985, allocations: 201.7 kB / 0.6567 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.5986, allocations: 47.44 kB / 0.6568 GB, free: 7.539 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.6005, allocations: 0.7327 MB / 0.6575 GB, free: 6.801 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6005, allocations: 4 kB / 0.6575 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6005, allocations: 4 kB / 0.6575 GB, free: 6.793 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.6006, allocations: 7.969 kB / 0.6575 GB, free: 6.785 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.6029, allocations: 1.276 MB / 0.6588 GB, free: 5.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.603, allocations: 4.156 kB / 0.6588 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.6034, allocations: 103.9 kB / 0.6589 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.604, allocations: 104.8 kB / 0.659 GB, free: 5.223 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.6041, allocations: 23.98 kB / 0.659 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6058, allocations: 1.687 MB / 0.6606 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6058, allocations: 0 / 0.6606 GB, free: 3.379 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03521/0.641, allocations: 8.61 MB / 0.669 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.6412, allocations: 160.5 kB / 0.6692 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.6413, allocations: 24 kB / 0.6692 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.6418, allocations: 47.94 kB / 0.6693 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.6419, allocations: 55.92 kB / 0.6693 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/0.642, allocations: 35.98 kB / 0.6693 GB, free: 10.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.6423, allocations: 271.2 kB / 0.6696 GB, free: 9.844 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6423, allocations: 0 / 0.6696 GB, free: 9.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00124/0.6435, allocations: 483.8 kB / 0.6701 GB, free: 9.371 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.001515/0.645, allocations: 379.4 kB / 0.6704 GB, free: 9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/0.6465, allocations: 0.603 MB / 0.671 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.6466, allocations: 0 / 0.671 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.6474, allocations: 411.3 kB / 0.6714 GB, free: 7.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6484, allocations: 195.4 kB / 0.6716 GB, free: 7.781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.6507, allocations: 1.808 MB / 0.6734 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.6511, allocations: 0.875 MB / 0.6742 GB, free: 5.008 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008328/0.6519, allocations: 200.5 kB / 0.6744 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.6523, allocations: 107.4 kB / 0.6745 GB, free: 4.703 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6523, allocations: 0 / 0.6745 GB, free: 4.703 MB / 490.7 MB Notification: Performance of Templates: time 0.2236/0.876, allocations: 26.43 MB / 0.7003 GB, free: 167.2 MB / 0.4948 GB 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@2/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