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.00108/0.00108, allocations: 105.6 kB / 16.27 MB, free: 5.93 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.001017/0.001017, allocations: 191 kB / 17.2 MB, free: 5.574 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.288/1.288, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.1944/0.1944, allocations: 43.52 MB / 313.9 MB, free: 0.5156 MB / 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.001438/0.001438, allocations: 70.44 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08134/0.08279, allocations: 57.79 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3482/0.431, allocations: 163.3 MB / 0.5898 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.4366, allocations: 4.101 MB / 0.5938 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000548/0.4372, allocations: 13.28 kB / 0.5938 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.438, allocations: 212 kB / 0.594 GB, free: 10.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.4402, allocations: 0.8333 MB / 0.5948 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.4419, allocations: 0.675 MB / 0.5955 GB, free: 9.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4432, allocations: 1.147 MB / 0.5966 GB, free: 9.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005616/0.4437, allocations: 330.7 kB / 0.5969 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.4445, allocations: 460.8 kB / 0.5974 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.445, allocations: 384.1 kB / 0.5977 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.193e-05/0.4451, allocations: 45.38 kB / 0.5978 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009873/0.4461, allocations: 0.5478 MB / 0.5983 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.4463, allocations: 147.9 kB / 0.5985 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.4465, allocations: 278.9 kB / 0.5987 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.4476, allocations: 0.959 MB / 0.5997 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4476, allocations: 0 / 0.5997 GB, free: 8.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4476, allocations: 4 kB / 0.5997 GB, free: 8.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4477, allocations: 0 / 0.5997 GB, free: 8.105 MB / 430.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.001637/0.4493, allocations: 0.906 MB / 0.6006 GB, free: 7.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4493, allocations: 13.92 kB / 0.6006 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.953e-05/0.4494, allocations: 77.28 kB / 0.6006 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.4498, allocations: 71.52 kB / 0.6007 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.4503, allocations: 390.9 kB / 0.6011 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.4504, allocations: 58.02 kB / 0.6011 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.4505, allocations: 37.88 kB / 0.6012 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.4514, allocations: 0.5292 MB / 0.6017 GB, free: 6.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4515, allocations: 6.438 kB / 0.6017 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.4515, allocations: 15.78 kB / 0.6017 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.4515, allocations: 17.31 kB / 0.6017 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.4524, allocations: 404.1 kB / 0.6021 GB, free: 6.684 MB / 430.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.00308/0.4555, allocations: 2.493 MB / 0.6046 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.4563, allocations: 344.4 kB / 0.6049 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.4567, allocations: 164 kB / 0.605 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.4567, allocations: 9.562 kB / 0.605 GB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005264/0.4572, allocations: 268.1 kB / 0.6053 GB, free: 4.219 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.562e-06/0.4573, allocations: 0 / 0.6053 GB, free: 4.219 MB / 430.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.01212/0.4694, allocations: 3.239 MB / 0.6085 GB, free: 2.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.4695, allocations: 159.1 kB / 0.6086 GB, free: 2.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.4699, allocations: 394.1 kB / 0.609 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.47, allocations: 35.83 kB / 0.609 GB, free: 1.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4701, allocations: 254.5 kB / 0.6093 GB, free: 1.605 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.4703, allocations: 161.7 kB / 0.6094 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.4705, allocations: 124.5 kB / 0.6095 GB, free: 1.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4706, allocations: 352.2 kB / 0.6099 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.4713, allocations: 222.3 kB / 0.6101 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.472, allocations: 413.8 kB / 0.6105 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.4733, allocations: 0.6367 MB / 0.6111 GB, free: 148 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4733, allocations: 0 / 0.6111 GB, free: 148 kB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001959/0.4753, allocations: 0.7989 MB / 0.6119 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.4753, allocations: 37.38 kB / 0.6119 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4753, allocations: 5.938 kB / 0.6119 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.4757, allocations: 116.3 kB / 0.612 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.4763, allocations: 137.9 kB / 0.6122 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005681/0.4769, allocations: 0.673 MB / 0.6128 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/0.4774, allocations: 49.67 kB / 0.6129 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.4775, allocations: 42.81 kB / 0.6129 GB, free: 14.96 MB / 446.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.0002564/0.4778, allocations: 206.2 kB / 0.6131 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.4778, allocations: 48.62 kB / 0.6132 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.4799, allocations: 0.7307 MB / 0.6139 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4799, allocations: 9.625 kB / 0.6139 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4799, allocations: 0 / 0.6139 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4799, allocations: 0 / 0.6139 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.4826, allocations: 1.283 MB / 0.6151 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4826, allocations: 0 / 0.6151 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.4831, allocations: 103.9 kB / 0.6152 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/0.4837, allocations: 108.8 kB / 0.6153 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.4838, allocations: 23.94 kB / 0.6154 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.4858, allocations: 1.821 MB / 0.6171 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4858, allocations: 3.938 kB / 0.6171 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.4882, allocations: 0.9707 MB / 0.6181 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.4885, allocations: 168.5 kB / 0.6183 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.4886, allocations: 16 kB / 0.6183 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.4891, allocations: 43.94 kB / 0.6183 GB, free: 9.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.4893, allocations: 59.88 kB / 0.6184 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.4893, allocations: 31.98 kB / 0.6184 GB, free: 9.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003087/0.4897, allocations: 279.1 kB / 0.6187 GB, free: 9.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4897, allocations: 4 kB / 0.6187 GB, free: 9.422 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008336/0.4905, allocations: 239.9 kB / 0.6189 GB, free: 9.188 MB / 446.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.003252/0.4938, allocations: 1.725 MB / 0.6206 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001659/0.4954, allocations: 0.6304 MB / 0.6212 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4955, allocations: 0 / 0.6212 GB, free: 6.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008761/0.4963, allocations: 431 kB / 0.6216 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4974, allocations: 215.2 kB / 0.6218 GB, free: 6.168 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008399/0.5058, allocations: 5.131 MB / 0.6268 GB, free: 0.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.5063, allocations: 0.8553 MB / 0.6277 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006804/0.507, allocations: 148.6 kB / 0.6278 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.5073, allocations: 199.3 kB / 0.628 GB, free: 15.57 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5074, allocations: 0 / 0.628 GB, free: 15.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.5504, allocations: 18.48 MB / 0.646 GB, free: 13.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.59, allocations: 19.91 kB / 0.6461 GB, free: 13.09 MB / 478.1 MB (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