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.001081/0.001081, allocations: 109.7 kB / 16.41 MB, free: 6.445 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.001159/0.001159, allocations: 185.5 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2007/0.2007, 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.00156/0.00156, allocations: 67.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09986, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4021/0.502, allocations: 163.4 MB / 0.6469 GB, free: 7.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006118/0.5082, allocations: 4.099 MB / 0.6509 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004653/0.5087, allocations: 15.88 kB / 0.6509 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007105/0.5094, allocations: 202.6 kB / 0.6511 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.5117, allocations: 0.8516 MB / 0.652 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5134, allocations: 0.6785 MB / 0.6526 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.5147, allocations: 1.15 MB / 0.6538 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.5152, allocations: 321.7 kB / 0.6541 GB, free: 180 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008529/0.5161, allocations: 478.2 kB / 0.6545 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.5166, allocations: 378.5 kB / 0.6549 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.639e-05/0.5166, allocations: 44 kB / 0.6549 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.5178, allocations: 0.5929 MB / 0.6555 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.518, allocations: 159.5 kB / 0.6557 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.5183, allocations: 270.8 kB / 0.6559 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.5197, allocations: 0.9782 MB / 0.6569 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.5197, allocations: 4 kB / 0.6569 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.167e-06/0.5198, allocations: 0 / 0.6569 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.5198, allocations: 3.938 kB / 0.6569 GB, free: 13.29 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.001727/0.5215, allocations: 0.9242 MB / 0.6578 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5216, allocations: 11.89 kB / 0.6578 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.303e-05/0.5217, allocations: 74.53 kB / 0.6579 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003763/0.522, allocations: 75.66 kB / 0.6579 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.5226, allocations: 414.7 kB / 0.6583 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.5227, allocations: 62.7 kB / 0.6584 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-05/0.5228, allocations: 39.98 kB / 0.6584 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009057/0.5237, allocations: 0.5286 MB / 0.6589 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5237, allocations: 0 / 0.6589 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.5238, allocations: 20 kB / 0.659 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.5238, allocations: 16.64 kB / 0.659 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.5247, allocations: 406.2 kB / 0.6594 GB, free: 10.6 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.003016/0.5277, allocations: 2.487 MB / 0.6618 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/0.5286, allocations: 343.3 kB / 0.6621 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.529, allocations: 161.3 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.529, allocations: 8.266 kB / 0.6623 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/0.5297, allocations: 268.2 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.345e-06/0.5297, allocations: 3.938 kB / 0.6625 GB, free: 7.133 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.01239/0.5421, allocations: 3.256 MB / 0.6657 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.5422, allocations: 162.2 kB / 0.6659 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.5427, allocations: 389.5 kB / 0.6662 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.5428, allocations: 33.7 kB / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.543, allocations: 268.5 kB / 0.6665 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.5432, allocations: 170.5 kB / 0.6667 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.5434, allocations: 126.3 kB / 0.6668 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.5436, allocations: 354.8 kB / 0.6672 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.5442, allocations: 221.1 kB / 0.6674 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000733/0.5449, allocations: 405.1 kB / 0.6678 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.5462, allocations: 0.6355 MB / 0.6684 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5463, allocations: 0.5 kB / 0.6684 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001865/0.5481, allocations: 0.7905 MB / 0.6691 GB, free: 4 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.5482, allocations: 37.69 kB / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.5482, allocations: 4 kB / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000455/0.5487, allocations: 117.4 kB / 0.6693 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.5493, allocations: 143.4 kB / 0.6694 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006547/0.5499, allocations: 0.6738 MB / 0.6701 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005389/0.5505, allocations: 56.02 kB / 0.6701 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.5506, allocations: 40 kB / 0.6702 GB, free: 14.91 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.0003112/0.5509, allocations: 197.6 kB / 0.6704 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.551, allocations: 47.72 kB / 0.6704 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.5529, allocations: 0.7484 MB / 0.6711 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5529, allocations: 4 kB / 0.6712 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5529, allocations: 3.938 kB / 0.6712 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5529, allocations: 3.938 kB / 0.6712 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.5554, allocations: 1.273 MB / 0.6724 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.5554, allocations: 0 / 0.6724 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.5559, allocations: 104.6 kB / 0.6725 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.5564, allocations: 112.8 kB / 0.6726 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.5565, allocations: 15.94 kB / 0.6726 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.5583, allocations: 1.818 MB / 0.6744 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5583, allocations: 3.938 kB / 0.6744 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5606, allocations: 0.9799 MB / 0.6754 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.5609, allocations: 168.8 kB / 0.6755 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.561, allocations: 8 kB / 0.6755 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.5614, allocations: 51.94 kB / 0.6756 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5616, allocations: 60.45 kB / 0.6756 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.5616, allocations: 35.98 kB / 0.6757 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002896/0.5619, allocations: 271.1 kB / 0.6759 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5619, allocations: 0 / 0.6759 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008422/0.5628, allocations: 239.7 kB / 0.6762 GB, free: 8.496 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.003405/0.5662, allocations: 1.731 MB / 0.6778 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001643/0.5679, allocations: 0.6112 MB / 0.6784 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.5679, allocations: 11.92 kB / 0.6785 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.5687, allocations: 418 kB / 0.6789 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5698, allocations: 209.9 kB / 0.6791 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/0.5781, allocations: 5.069 MB / 0.684 GB, free: 136 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.5786, allocations: 0.8514 MB / 0.6848 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000557/0.5791, allocations: 148.6 kB / 0.685 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.5795, allocations: 195.4 kB / 0.6852 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.5795, allocations: 0 / 0.6852 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.6269, allocations: 18.7 MB / 0.7034 GB, free: 12.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.83, allocations: 12.28 kB / 0.7034 GB, free: 12.19 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