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.001063/0.001063, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.001757/0.001757, allocations: 194 kB / 18.12 MB, free: 5.383 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.564/1.564, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.1952/0.1952, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.72 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09109, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3325/0.4237, allocations: 158.5 MB / 0.6124 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.4269, allocations: 1.755 MB / 0.6141 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.4274, allocations: 15.88 kB / 0.6141 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.4282, allocations: 183 kB / 0.6143 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4303, allocations: 0.6922 MB / 0.615 GB, free: 12 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.4318, allocations: 0.5828 MB / 0.6156 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.4333, allocations: 1.599 MB / 0.6171 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003746/0.4337, allocations: 293.7 kB / 0.6174 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006542/0.4343, allocations: 414.3 kB / 0.6178 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004623/0.4348, allocations: 390.3 kB / 0.6182 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.4349, allocations: 24 kB / 0.6182 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009169/0.4358, allocations: 499.2 kB / 0.6187 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.436, allocations: 139.5 kB / 0.6188 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.4363, allocations: 258.7 kB / 0.619 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.4375, allocations: 0.9388 MB / 0.62 GB, free: 10.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4375, allocations: 0 / 0.62 GB, free: 10.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.4375, allocations: 0 / 0.62 GB, free: 10.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4375, allocations: 0 / 0.62 GB, free: 10.91 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.001799/0.4393, allocations: 0.9023 MB / 0.6208 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.4394, allocations: 8.031 kB / 0.6208 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.4395, allocations: 82.52 kB / 0.6209 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.4399, allocations: 71.33 kB / 0.621 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.4405, allocations: 398.3 kB / 0.6214 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.4406, allocations: 58.7 kB / 0.6214 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.573e-05/0.4407, allocations: 39.94 kB / 0.6215 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.4416, allocations: 0.5166 MB / 0.622 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.4417, allocations: 8 kB / 0.622 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.4417, allocations: 19.98 kB / 0.622 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4418, allocations: 12.66 kB / 0.622 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.4427, allocations: 406.1 kB / 0.6224 GB, free: 8.246 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.003048/0.4457, allocations: 2.497 MB / 0.6248 GB, free: 5.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007897/0.4466, allocations: 349.5 kB / 0.6252 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.4469, allocations: 157.3 kB / 0.6253 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.447, allocations: 8.281 kB / 0.6253 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.4475, allocations: 268.8 kB / 0.6256 GB, free: 4.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=34): time 2.284e-06/0.4475, allocations: 0 / 0.6256 GB, free: 4.773 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.4594, allocations: 3.233 MB / 0.6287 GB, free: 1.418 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.389e-05/0.4595, allocations: 174.1 kB / 0.6289 GB, free: 1.211 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.4599, allocations: 377.6 kB / 0.6293 GB, free: 0.832 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.4599, allocations: 33.7 kB / 0.6293 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.4601, allocations: 271.9 kB / 0.6296 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4602, allocations: 161.7 kB / 0.6297 GB, free: 372 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.4604, allocations: 126.2 kB / 0.6298 GB, free: 240 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4606, allocations: 358.8 kB / 0.6302 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.4612, allocations: 213.1 kB / 0.6304 GB, free: 15.67 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.4619, allocations: 409.1 kB / 0.6308 GB, free: 15.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.4632, allocations: 0.6394 MB / 0.6314 GB, free: 14.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4632, allocations: 8 kB / 0.6314 GB, free: 14.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001871/0.4651, allocations: 0.783 MB / 0.6322 GB, free: 13.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.4651, allocations: 33.77 kB / 0.6322 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4652, allocations: 12 kB / 0.6322 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/0.4656, allocations: 112.8 kB / 0.6323 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.4662, allocations: 131.8 kB / 0.6324 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/0.4667, allocations: 0.6811 MB / 0.6331 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/0.4673, allocations: 55.94 kB / 0.6332 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.4673, allocations: 44 kB / 0.6332 GB, free: 12.57 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.0002457/0.4676, allocations: 202.2 kB / 0.6334 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.605e-05/0.4677, allocations: 47.44 kB / 0.6334 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.4697, allocations: 0.7345 MB / 0.6342 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4697, allocations: 4 kB / 0.6342 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4697, allocations: 0 / 0.6342 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4697, allocations: 7.938 kB / 0.6342 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/0.4722, allocations: 1.271 MB / 0.6354 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.4722, allocations: 3.984 kB / 0.6354 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.4727, allocations: 112 kB / 0.6355 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00062/0.4733, allocations: 108.6 kB / 0.6356 GB, free: 9.988 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.4734, allocations: 20 kB / 0.6356 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.4751, allocations: 1.687 MB / 0.6373 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4751, allocations: 12.08 kB / 0.6373 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.4773, allocations: 0.9694 MB / 0.6383 GB, free: 7.129 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.4776, allocations: 172.4 kB / 0.6384 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.4777, allocations: 12 kB / 0.6384 GB, free: 6.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.4782, allocations: 47.88 kB / 0.6385 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4784, allocations: 67.86 kB / 0.6385 GB, free: 6.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.4784, allocations: 35.98 kB / 0.6386 GB, free: 6.781 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.4787, allocations: 275.1 kB / 0.6388 GB, free: 6.516 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4787, allocations: 0 / 0.6388 GB, free: 6.516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007881/0.4795, allocations: 228 kB / 0.6391 GB, free: 6.293 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.003228/0.4827, allocations: 1.71 MB / 0.6407 GB, free: 4.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4842, allocations: 0.6069 MB / 0.6413 GB, free: 3.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4843, allocations: 4 kB / 0.6413 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008342/0.4851, allocations: 407.2 kB / 0.6417 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4862, allocations: 194 kB / 0.6419 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.4947, allocations: 5.289 MB / 0.6471 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4951, allocations: 0.8592 MB / 0.6479 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006717/0.4957, allocations: 152.8 kB / 0.648 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.4961, allocations: 195.4 kB / 0.6482 GB, free: 12.57 MB / 494.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4961, allocations: 0 / 0.6482 GB, free: 12.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.394/2.89, allocations: 17.45 MB / 0.6653 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/2.891, allocations: 304.9 kB / 0.6656 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/5.928, allocations: 0 / 0.6656 GB, free: 10.99 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