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.001244/0.001244, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001236/0.001236, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.62/1.62, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2218/0.2218, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.351, allocations: 60.83 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.19/0.541, allocations: 160.5 MB / 0.6751 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003532/0.5446, allocations: 1.672 MB / 0.6768 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.545, allocations: 15.94 kB / 0.6768 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.5456, allocations: 202.6 kB / 0.677 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.548, allocations: 0.7724 MB / 0.6777 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.5498, allocations: 0.6698 MB / 0.6784 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.5513, allocations: 1.15 MB / 0.6795 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.5518, allocations: 323 kB / 0.6798 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.5526, allocations: 478.1 kB / 0.6803 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005384/0.5532, allocations: 382.4 kB / 0.6806 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.892e-05/0.5533, allocations: 44 kB / 0.6807 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.5545, allocations: 0.5733 MB / 0.6812 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.5548, allocations: 155.5 kB / 0.6814 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.5551, allocations: 262.8 kB / 0.6816 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5565, allocations: 0.9656 MB / 0.6826 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5565, allocations: 0 / 0.6826 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5565, allocations: 0 / 0.6826 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.5565, allocations: 4 kB / 0.6826 GB, free: 3.582 MB / 0.5294 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.001873/0.5584, allocations: 0.9131 MB / 0.6835 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5585, allocations: 12.03 kB / 0.6835 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.5586, allocations: 82.45 kB / 0.6836 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.559, allocations: 71.66 kB / 0.6836 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.5596, allocations: 418.6 kB / 0.684 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.5597, allocations: 62.62 kB / 0.6841 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.5598, allocations: 43.94 kB / 0.6841 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009918/0.5608, allocations: 0.5166 MB / 0.6847 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5608, allocations: 7.922 kB / 0.6847 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/0.5609, allocations: 20 kB / 0.6847 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.5609, allocations: 12.66 kB / 0.6847 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.5618, allocations: 398.2 kB / 0.6851 GB, free: 0.8984 MB / 0.5294 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.003567/0.5654, allocations: 2.514 MB / 0.6875 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008654/0.5663, allocations: 343.4 kB / 0.6879 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003981/0.5667, allocations: 157.3 kB / 0.688 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.5668, allocations: 8.281 kB / 0.688 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.5673, allocations: 268.8 kB / 0.6883 GB, free: 13.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.984e-06/0.5674, allocations: 0 / 0.6883 GB, free: 13.41 MB / 0.545 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.01253/0.5799, allocations: 3.244 MB / 0.6914 GB, free: 10.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.5801, allocations: 162.2 kB / 0.6916 GB, free: 9.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.5805, allocations: 389.5 kB / 0.692 GB, free: 9.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.5806, allocations: 37.7 kB / 0.692 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.5808, allocations: 260.5 kB / 0.6922 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.581, allocations: 170.6 kB / 0.6924 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.5812, allocations: 122.3 kB / 0.6925 GB, free: 8.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5814, allocations: 358.8 kB / 0.6929 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.582, allocations: 221.1 kB / 0.6931 GB, free: 8.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007659/0.5828, allocations: 409.1 kB / 0.6935 GB, free: 7.801 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.5842, allocations: 0.6317 MB / 0.6941 GB, free: 7.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5842, allocations: 3.938 kB / 0.6941 GB, free: 7.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001952/0.5861, allocations: 0.7906 MB / 0.6949 GB, free: 6.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.5862, allocations: 37.7 kB / 0.6949 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5862, allocations: 4 kB / 0.6949 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.5867, allocations: 113.3 kB / 0.695 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.5872, allocations: 143.8 kB / 0.6951 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006323/0.5879, allocations: 0.6694 MB / 0.6958 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.5884, allocations: 51.95 kB / 0.6958 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.5885, allocations: 44.05 kB / 0.6959 GB, free: 5.195 MB / 0.545 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.0003065/0.5888, allocations: 201.6 kB / 0.6961 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.5889, allocations: 55.64 kB / 0.6961 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.5909, allocations: 0.7367 MB / 0.6969 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5909, allocations: 4 kB / 0.6969 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5909, allocations: 3.938 kB / 0.6969 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5909, allocations: 3.984 kB / 0.6969 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00259/0.5935, allocations: 1.274 MB / 0.6981 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.5935, allocations: 8.094 kB / 0.6981 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/0.594, allocations: 111.8 kB / 0.6982 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005629/0.5946, allocations: 96.77 kB / 0.6983 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.5946, allocations: 19.92 kB / 0.6983 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.5966, allocations: 1.817 MB / 0.7001 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.5967, allocations: 8.016 kB / 0.7001 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.599, allocations: 0.9867 MB / 0.7011 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.5993, allocations: 164.8 kB / 0.7012 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.5994, allocations: 11.98 kB / 0.7013 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.5998, allocations: 43.95 kB / 0.7013 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.6, allocations: 67.86 kB / 0.7014 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.6001, allocations: 31.98 kB / 0.7014 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003193/0.6004, allocations: 271.2 kB / 0.7016 GB, free: 15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6004, allocations: 0 / 0.7016 GB, free: 15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007751/0.6012, allocations: 231.7 kB / 0.7019 GB, free: 14.77 MB / 0.5606 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.003375/0.6046, allocations: 1.721 MB / 0.7035 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.6062, allocations: 0.6108 MB / 0.7041 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6062, allocations: 0 / 0.7041 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008946/0.6071, allocations: 418.6 kB / 0.7045 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6081, allocations: 200.1 kB / 0.7047 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/0.6169, allocations: 5.089 MB / 0.7097 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.6174, allocations: 0.8514 MB / 0.7105 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000562/0.618, allocations: 164.6 kB / 0.7107 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.6183, allocations: 187.4 kB / 0.7109 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.6183, allocations: 4 kB / 0.7109 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/0.909, allocations: 18.35 MB / 0.7288 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.69, allocations: 3.719 kB / 0.7288 GB, free: 184.9 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.csv","/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