Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_4_0_0_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.001366/0.001366, allocations: 112.4 kB / 17.33 MB, free: 5.988 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.001668/0.001669, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.203/0.203, allocations: 44.18 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.14 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1034, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3256/0.429, allocations: 158.6 MB / 0.6127 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.4321, allocations: 1.712 MB / 0.6144 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003078/0.4324, allocations: 15.88 kB / 0.6144 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.433, allocations: 187 kB / 0.6145 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.4348, allocations: 0.71 MB / 0.6152 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.4362, allocations: 0.6197 MB / 0.6158 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.4375, allocations: 1.154 MB / 0.617 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.4379, allocations: 318.4 kB / 0.6173 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006985/0.4386, allocations: 470.3 kB / 0.6177 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.4391, allocations: 406.4 kB / 0.6181 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.4392, allocations: 48 kB / 0.6182 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008944/0.4401, allocations: 0.5266 MB / 0.6187 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.4403, allocations: 159.5 kB / 0.6188 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.4405, allocations: 270.7 kB / 0.6191 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.4416, allocations: 0.9622 MB / 0.62 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4416, allocations: 0 / 0.62 GB, free: 10.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.4416, allocations: 0 / 0.62 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.4416, allocations: 0 / 0.62 GB, free: 10.93 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.001669/0.4433, allocations: 0.9022 MB / 0.6209 GB, free: 9.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.4434, allocations: 8.031 kB / 0.6209 GB, free: 9.965 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.23e-05/0.4434, allocations: 82.52 kB / 0.621 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.4438, allocations: 71.33 kB / 0.6211 GB, free: 9.805 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.4444, allocations: 394.3 kB / 0.6214 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.4444, allocations: 66.69 kB / 0.6215 GB, free: 9.309 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.4445, allocations: 39.94 kB / 0.6215 GB, free: 9.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009369/0.4455, allocations: 0.5166 MB / 0.622 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4455, allocations: 7.938 kB / 0.622 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.4456, allocations: 16 kB / 0.6221 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.4456, allocations: 16.59 kB / 0.6221 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008953/0.4465, allocations: 414.1 kB / 0.6225 GB, free: 8.262 MB / 462.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.003052/0.4496, allocations: 2.498 MB / 0.6249 GB, free: 5.586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.4504, allocations: 339.4 kB / 0.6252 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.4507, allocations: 165.2 kB / 0.6254 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.4508, allocations: 4.281 kB / 0.6254 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005702/0.4514, allocations: 272.8 kB / 0.6257 GB, free: 4.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.044e-06/0.4514, allocations: 0 / 0.6257 GB, free: 4.789 MB / 462.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.01184/0.4632, allocations: 3.233 MB / 0.6288 GB, free: 1.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.4633, allocations: 166.2 kB / 0.629 GB, free: 1.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.4637, allocations: 385.5 kB / 0.6293 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.234e-05/0.4638, allocations: 37.64 kB / 0.6294 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.464, allocations: 252 kB / 0.6296 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.4641, allocations: 165.7 kB / 0.6298 GB, free: 396 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4643, allocations: 122.2 kB / 0.6299 GB, free: 268 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4644, allocations: 362.8 kB / 0.6302 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005999/0.465, allocations: 217.1 kB / 0.6304 GB, free: 15.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.4658, allocations: 401.1 kB / 0.6308 GB, free: 15.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.4671, allocations: 0.6394 MB / 0.6315 GB, free: 14.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4671, allocations: 4 kB / 0.6315 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00183/0.4689, allocations: 0.7863 MB / 0.6322 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.469, allocations: 33.7 kB / 0.6323 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.469, allocations: 8 kB / 0.6323 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/0.4694, allocations: 123.6 kB / 0.6324 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/0.47, allocations: 142.5 kB / 0.6325 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.4706, allocations: 0.6732 MB / 0.6332 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.4711, allocations: 56.02 kB / 0.6332 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.4712, allocations: 47.98 kB / 0.6333 GB, free: 12.59 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.0002378/0.4714, allocations: 190.2 kB / 0.6335 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.4715, allocations: 47.44 kB / 0.6335 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.4735, allocations: 0.7415 MB / 0.6342 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4735, allocations: 4 kB / 0.6342 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4735, allocations: 0 / 0.6342 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4735, allocations: 7.922 kB / 0.6342 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.476, allocations: 1.281 MB / 0.6355 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.476, allocations: 3.938 kB / 0.6355 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.4765, allocations: 114.7 kB / 0.6356 GB, free: 10.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.4771, allocations: 104.7 kB / 0.6357 GB, free: 10 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.4771, allocations: 19.98 kB / 0.6357 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.479, allocations: 1.817 MB / 0.6375 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.479, allocations: 0 / 0.6375 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4812, allocations: 0.9889 MB / 0.6385 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.4814, allocations: 156.5 kB / 0.6386 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.4815, allocations: 12 kB / 0.6386 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.482, allocations: 51.94 kB / 0.6387 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4822, allocations: 59.92 kB / 0.6387 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.767e-05/0.4822, allocations: 35.98 kB / 0.6388 GB, free: 6.672 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.4825, allocations: 271.1 kB / 0.639 GB, free: 6.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4825, allocations: 0 / 0.639 GB, free: 6.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.4833, allocations: 239.9 kB / 0.6392 GB, free: 6.176 MB / 478.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.003117/0.4864, allocations: 1.7 MB / 0.6409 GB, free: 4.438 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.488, allocations: 0.6372 MB / 0.6415 GB, free: 3.789 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.488, allocations: 0 / 0.6415 GB, free: 3.789 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.4888, allocations: 419.5 kB / 0.6419 GB, free: 3.367 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4899, allocations: 211.4 kB / 0.6421 GB, free: 3.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/0.4982, allocations: 5.295 MB / 0.6473 GB, free: 13.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.4986, allocations: 0.8553 MB / 0.6481 GB, free: 12.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007309/0.4994, allocations: 156.1 kB / 0.6483 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.4998, allocations: 195.4 kB / 0.6485 GB, free: 12.41 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4998, allocations: 0 / 0.6485 GB, free: 12.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2088/0.7086, allocations: 17.89 MB / 0.6659 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/0.709, allocations: 296.8 kB / 0.6662 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.033, allocations: 6.312 kB / 0.6662 GB, free: 10.42 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches