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.001009/0.001009, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.276/1.276, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2849/0.2849, allocations: 43.57 MB / 315 MB, free: 8.645 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.0004732/0.0004732, allocations: 12 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09143/0.09192, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3083/0.4003, allocations: 159.3 MB / 0.5887 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.4059, allocations: 4.211 MB / 0.5929 GB, free: 7.465 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.4064, allocations: 15.88 kB / 0.5929 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.4069, allocations: 179 kB / 0.593 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.4089, allocations: 0.7379 MB / 0.5938 GB, free: 6.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.4103, allocations: 0.571 MB / 0.5943 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.4117, allocations: 1.599 MB / 0.5959 GB, free: 4.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.412, allocations: 281 kB / 0.5961 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.4126, allocations: 416.8 kB / 0.5965 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.413, allocations: 390.4 kB / 0.5969 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.038e-05/0.4131, allocations: 28 kB / 0.5969 GB, free: 3.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008661/0.414, allocations: 0.5148 MB / 0.5974 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.4141, allocations: 135.5 kB / 0.5976 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.4144, allocations: 276.5 kB / 0.5978 GB, free: 2.352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009529/0.4153, allocations: 0.9464 MB / 0.5988 GB, free: 1.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4154, allocations: 0 / 0.5988 GB, free: 1.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4154, allocations: 0 / 0.5988 GB, free: 1.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4154, allocations: 0 / 0.5988 GB, free: 1.402 MB / 462.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.001415/0.4168, allocations: 0.8161 MB / 0.5996 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4168, allocations: 12.03 kB / 0.5996 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.187e-05/0.4169, allocations: 78.52 kB / 0.5996 GB, free: 444 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.4173, allocations: 71.36 kB / 0.5997 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.4178, allocations: 394.4 kB / 0.6001 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/0.4178, allocations: 58.7 kB / 0.6001 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.4179, allocations: 39.91 kB / 0.6002 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.4188, allocations: 0.5399 MB / 0.6007 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4188, allocations: 7.938 kB / 0.6007 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.4189, allocations: 16 kB / 0.6007 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.4189, allocations: 12.66 kB / 0.6007 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.4198, allocations: 429.3 kB / 0.6012 GB, free: 14.8 MB / 478.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.002823/0.4226, allocations: 2.524 MB / 0.6036 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.4234, allocations: 363.4 kB / 0.604 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.4238, allocations: 177.3 kB / 0.6041 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.4239, allocations: 4.281 kB / 0.6041 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005222/0.4244, allocations: 280.2 kB / 0.6044 GB, free: 11.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.4244, allocations: 0 / 0.6044 GB, free: 11.26 MB / 478.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.01194/0.4364, allocations: 3.598 MB / 0.6079 GB, free: 7.535 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.4364, allocations: 166.2 kB / 0.6081 GB, free: 7.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4368, allocations: 385.5 kB / 0.6084 GB, free: 6.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.4369, allocations: 37.7 kB / 0.6085 GB, free: 6.906 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.4371, allocations: 267.8 kB / 0.6087 GB, free: 6.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.4372, allocations: 157.7 kB / 0.6089 GB, free: 6.484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.4373, allocations: 53.7 kB / 0.6089 GB, free: 6.426 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4374, allocations: 354.8 kB / 0.6093 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.438, allocations: 245.1 kB / 0.6095 GB, free: 5.832 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.4388, allocations: 433.1 kB / 0.6099 GB, free: 5.328 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.4402, allocations: 0.6863 MB / 0.6106 GB, free: 4.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4402, allocations: 0 / 0.6106 GB, free: 4.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002044/0.4423, allocations: 0.8415 MB / 0.6114 GB, free: 3.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.4423, allocations: 41.69 kB / 0.6115 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4423, allocations: 4 kB / 0.6115 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/0.4428, allocations: 110.5 kB / 0.6116 GB, free: 3.547 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.4434, allocations: 156 kB / 0.6117 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005323/0.4439, allocations: 0.6694 MB / 0.6124 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.4445, allocations: 68.02 kB / 0.6124 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.4446, allocations: 47.92 kB / 0.6125 GB, free: 2.586 MB / 478.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.0002828/0.4449, allocations: 205.6 kB / 0.6127 GB, free: 2.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.4449, allocations: 51.44 kB / 0.6127 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.447, allocations: 0.7839 MB / 0.6135 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.447, allocations: 7.984 kB / 0.6135 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.447, allocations: 0 / 0.6135 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.447, allocations: 7.922 kB / 0.6135 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.4495, allocations: 1.331 MB / 0.6148 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4495, allocations: 0 / 0.6148 GB, free: 120 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.45, allocations: 120 kB / 0.6149 GB, free: 0 / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006068/0.4506, allocations: 104.7 kB / 0.615 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.4506, allocations: 19.94 kB / 0.615 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.4523, allocations: 1.691 MB / 0.6167 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4523, allocations: 0 / 0.6167 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.4546, allocations: 1.044 MB / 0.6177 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.4549, allocations: 169.3 kB / 0.6179 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.455, allocations: 15.94 kB / 0.6179 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.4555, allocations: 63.84 kB / 0.6179 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4556, allocations: 59.92 kB / 0.618 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.4557, allocations: 35.98 kB / 0.618 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.456, allocations: 275.1 kB / 0.6183 GB, free: 12.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.456, allocations: 0 / 0.6183 GB, free: 12.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007479/0.4567, allocations: 240 kB / 0.6185 GB, free: 12.11 MB / 494.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.003185/0.4599, allocations: 1.812 MB / 0.6203 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.4614, allocations: 0.6507 MB / 0.6209 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4615, allocations: 4 kB / 0.6209 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.4623, allocations: 450.2 kB / 0.6214 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.4634, allocations: 195 kB / 0.6216 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008074/0.4715, allocations: 5.516 MB / 0.6269 GB, free: 3.211 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.4719, allocations: 0.8553 MB / 0.6278 GB, free: 2.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006379/0.4725, allocations: 155.9 kB / 0.6279 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.4729, allocations: 191.4 kB / 0.6281 GB, free: 1.988 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4729, allocations: 4 kB / 0.6281 GB, free: 1.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.508/0.9809, allocations: 17.6 MB / 0.6453 GB, free: 151.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.9811, allocations: 292.4 kB / 0.6456 GB, free: 151.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.042/3.023, allocations: 0 / 0.6456 GB, free: 151.4 MB / 494.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/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