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/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 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 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 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002107/0.002108, allocations: 111 kB / 16.41 MB, free: 6.449 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.002101/0.002101, allocations: 192.8 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1178, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4258/0.5437, allocations: 163.4 MB / 0.6469 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006559/0.5503, allocations: 4.103 MB / 0.6509 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004626/0.5507, allocations: 11.94 kB / 0.6509 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.5514, allocations: 214.6 kB / 0.6511 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.5537, allocations: 0.8321 MB / 0.652 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.5554, allocations: 0.6779 MB / 0.6526 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.5569, allocations: 1.15 MB / 0.6537 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.5575, allocations: 317.7 kB / 0.654 GB, free: 224 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009701/0.5585, allocations: 466.4 kB / 0.6545 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005693/0.5591, allocations: 382.5 kB / 0.6549 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.5592, allocations: 44 kB / 0.6549 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.5606, allocations: 0.5889 MB / 0.6555 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.5608, allocations: 163.5 kB / 0.6556 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.5612, allocations: 270.8 kB / 0.6559 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.5626, allocations: 0.9772 MB / 0.6568 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5627, allocations: 0 / 0.6568 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5627, allocations: 4 kB / 0.6568 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.5627, allocations: 0 / 0.6568 GB, free: 13.34 MB / 0.4981 GB 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.001798/0.5645, allocations: 0.9164 MB / 0.6577 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5645, allocations: 15.89 kB / 0.6578 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.5647, allocations: 90.44 kB / 0.6578 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.5651, allocations: 75.66 kB / 0.6579 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.5657, allocations: 402.7 kB / 0.6583 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.748e-05/0.5658, allocations: 66.67 kB / 0.6584 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.5659, allocations: 36 kB / 0.6584 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.5669, allocations: 0.5297 MB / 0.6589 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.5669, allocations: 3.938 kB / 0.6589 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.567, allocations: 16 kB / 0.6589 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.567, allocations: 20.09 kB / 0.6589 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.5679, allocations: 402.2 kB / 0.6593 GB, free: 10.66 MB / 0.4981 GB 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.003231/0.5712, allocations: 2.495 MB / 0.6618 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.572, allocations: 347.2 kB / 0.6621 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.5724, allocations: 157.3 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.5725, allocations: 8.281 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/0.573, allocations: 268.1 kB / 0.6625 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.754e-06/0.573, allocations: 0 / 0.6625 GB, free: 7.184 MB / 0.4981 GB 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.0123/0.5853, allocations: 3.257 MB / 0.6657 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.5855, allocations: 166.2 kB / 0.6659 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.586, allocations: 389.5 kB / 0.6662 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.5861, allocations: 33.7 kB / 0.6663 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.5863, allocations: 260.5 kB / 0.6665 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.5865, allocations: 178.5 kB / 0.6667 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.5867, allocations: 122.3 kB / 0.6668 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.5869, allocations: 358.8 kB / 0.6671 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/0.5876, allocations: 217.1 kB / 0.6673 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.5884, allocations: 409.1 kB / 0.6677 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.5899, allocations: 0.6317 MB / 0.6683 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5899, allocations: 4 kB / 0.6684 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002135/0.592, allocations: 0.795 MB / 0.6691 GB, free: 48 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.5921, allocations: 33.7 kB / 0.6692 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.5921, allocations: 8.031 kB / 0.6692 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/0.5926, allocations: 116.8 kB / 0.6693 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.5932, allocations: 131.8 kB / 0.6694 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000685/0.5939, allocations: 0.6811 MB / 0.6701 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.5944, allocations: 43.95 kB / 0.6701 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.5945, allocations: 47.98 kB / 0.6702 GB, free: 14.96 MB / 0.5137 GB 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.0003177/0.5949, allocations: 193.6 kB / 0.6703 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.595, allocations: 55.7 kB / 0.6704 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.5971, allocations: 0.7341 MB / 0.6711 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5971, allocations: 8 kB / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5971, allocations: 0 / 0.6711 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.5971, allocations: 7.922 kB / 0.6711 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.5999, allocations: 1.273 MB / 0.6724 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5999, allocations: 4.875 kB / 0.6724 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.6004, allocations: 107.8 kB / 0.6725 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005743/0.601, allocations: 101 kB / 0.6726 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.6011, allocations: 27.92 kB / 0.6726 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.6031, allocations: 1.817 MB / 0.6744 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6031, allocations: 0 / 0.6744 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.6055, allocations: 0.9876 MB / 0.6753 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.6058, allocations: 160.8 kB / 0.6755 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.6059, allocations: 23.98 kB / 0.6755 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.6064, allocations: 35.95 kB / 0.6756 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.6066, allocations: 59.92 kB / 0.6756 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.6066, allocations: 35.98 kB / 0.6756 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003249/0.607, allocations: 271.2 kB / 0.6759 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.607, allocations: 0 / 0.6759 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008185/0.6078, allocations: 243.7 kB / 0.6761 GB, free: 8.543 MB / 0.5137 GB 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.003548/0.6114, allocations: 1.727 MB / 0.6778 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.613, allocations: 0.611 MB / 0.6784 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.613, allocations: 3.938 kB / 0.6784 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.614, allocations: 422.5 kB / 0.6788 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6151, allocations: 209.2 kB / 0.679 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009222/0.6243, allocations: 5.069 MB / 0.684 GB, free: 192 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.625, allocations: 0.8514 MB / 0.6848 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006178/0.6257, allocations: 160.6 kB / 0.685 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/0.626, allocations: 191.4 kB / 0.6851 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.6261, allocations: 0 / 0.6851 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05456/0.6806, allocations: 18.71 MB / 0.7034 GB, free: 12.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.12, allocations: 8.281 kB / 0.7034 GB, free: 12.24 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches