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.001321/0.001321, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.00175/0.00175, allocations: 190.4 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.292/2.292, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.5816/0.5816, allocations: 43.49 MB / 313.6 MB, free: 8.246 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.001738/0.001738, allocations: 63.91 kB / 382.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2121, allocations: 57.79 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.6613/0.8734, allocations: 161.4 MB / 0.5874 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00858/0.882, allocations: 4.144 MB / 0.5915 GB, free: 6.277 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008072/0.8829, allocations: 15.88 kB / 0.5915 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009388/0.8838, allocations: 179 kB / 0.5916 GB, free: 6.086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.8871, allocations: 0.7612 MB / 0.5924 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.8895, allocations: 0.6182 MB / 0.593 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.891, allocations: 1.154 MB / 0.5941 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005108/0.8915, allocations: 324.7 kB / 0.5944 GB, free: 3.246 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.8924, allocations: 474.3 kB / 0.5949 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.893, allocations: 394.4 kB / 0.5953 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.8931, allocations: 48 kB / 0.5953 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.8948, allocations: 0.5616 MB / 0.5959 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.895, allocations: 159.5 kB / 0.596 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.8954, allocations: 274.8 kB / 0.5963 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.8971, allocations: 0.9738 MB / 0.5972 GB, free: 392 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.8972, allocations: 0 / 0.5972 GB, free: 392 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.8972, allocations: 0 / 0.5972 GB, free: 392 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.8972, allocations: 0 / 0.5972 GB, free: 392 kB / 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.002164/0.8994, allocations: 0.9038 MB / 0.5981 GB, free: 15.42 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.8994, allocations: 15.83 kB / 0.5981 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.8996, allocations: 83.66 kB / 0.5982 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.9, allocations: 67.42 kB / 0.5983 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.9007, allocations: 394.4 kB / 0.5986 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.9009, allocations: 62.62 kB / 0.5987 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-05/0.901, allocations: 43.91 kB / 0.5987 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.9021, allocations: 0.5211 MB / 0.5992 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.9021, allocations: 3.938 kB / 0.5993 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.883e-05/0.9022, allocations: 20 kB / 0.5993 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.9022, allocations: 16.64 kB / 0.5993 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009244/0.9032, allocations: 406.2 kB / 0.5997 GB, free: 13.71 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.003642/0.9068, allocations: 2.492 MB / 0.6021 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008304/0.9077, allocations: 345.6 kB / 0.6024 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.9081, allocations: 158.8 kB / 0.6026 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.9081, allocations: 8.266 kB / 0.6026 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.9087, allocations: 276.1 kB / 0.6029 GB, free: 10.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.9088, allocations: 0 / 0.6029 GB, free: 10.25 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.01239/0.9212, allocations: 3.229 MB / 0.606 GB, free: 6.895 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001903/0.9214, allocations: 162.2 kB / 0.6062 GB, free: 6.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.922, allocations: 389.4 kB / 0.6065 GB, free: 6.309 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.9221, allocations: 33.7 kB / 0.6066 GB, free: 6.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.9225, allocations: 252 kB / 0.6068 GB, free: 6.02 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.9227, allocations: 169.6 kB / 0.607 GB, free: 5.852 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.9229, allocations: 126.2 kB / 0.6071 GB, free: 5.723 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.9233, allocations: 362.8 kB / 0.6074 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.9239, allocations: 217.1 kB / 0.6076 GB, free: 5.148 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.925, allocations: 405.1 kB / 0.608 GB, free: 4.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.9265, allocations: 0.6317 MB / 0.6087 GB, free: 3.965 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.9265, allocations: 4 kB / 0.6087 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002166/0.9287, allocations: 0.794 MB / 0.6094 GB, free: 3.148 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.9288, allocations: 33.7 kB / 0.6095 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.9288, allocations: 8 kB / 0.6095 GB, free: 3.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/0.9294, allocations: 125.4 kB / 0.6096 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.9301, allocations: 142.3 kB / 0.6097 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009412/0.931, allocations: 0.6655 MB / 0.6104 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.9317, allocations: 60 kB / 0.6104 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.839e-05/0.9318, allocations: 43.98 kB / 0.6105 GB, free: 2.047 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.000422/0.9322, allocations: 197.6 kB / 0.6107 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.9323, allocations: 51.38 kB / 0.6107 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.9345, allocations: 0.7372 MB / 0.6114 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.9345, allocations: 4 kB / 0.6114 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.9346, allocations: 0 / 0.6114 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.9346, allocations: 3.984 kB / 0.6114 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/0.9377, allocations: 1.284 MB / 0.6127 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9377, allocations: 0 / 0.6127 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.9383, allocations: 108 kB / 0.6128 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006574/0.9389, allocations: 106.5 kB / 0.6129 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.939, allocations: 23.92 kB / 0.6129 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.9413, allocations: 1.814 MB / 0.6147 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9413, allocations: 0 / 0.6147 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.9439, allocations: 0.9737 MB / 0.6156 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.9442, allocations: 160.5 kB / 0.6158 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.691e-05/0.9443, allocations: 8 kB / 0.6158 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.9448, allocations: 55.94 kB / 0.6159 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.945, allocations: 59.92 kB / 0.6159 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.9451, allocations: 35.98 kB / 0.6159 GB, free: 12.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004548/0.9456, allocations: 271.1 kB / 0.6162 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9456, allocations: 0 / 0.6162 GB, free: 11.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001132/0.9467, allocations: 239.9 kB / 0.6164 GB, free: 11.66 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.003671/0.9504, allocations: 1.746 MB / 0.6181 GB, free: 9.875 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.9523, allocations: 0.6375 MB / 0.6188 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.9523, allocations: 0 / 0.6188 GB, free: 9.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.9533, allocations: 418.3 kB / 0.6192 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.9546, allocations: 214 kB / 0.6194 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009733/0.9643, allocations: 5.288 MB / 0.6245 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/0.965, allocations: 0.8592 MB / 0.6254 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008367/0.9659, allocations: 152.6 kB / 0.6255 GB, free: 2.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.9663, allocations: 195.4 kB / 0.6257 GB, free: 1.867 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/0.9663, allocations: 0 / 0.6257 GB, free: 1.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3742/1.34, allocations: 18.22 MB / 0.6435 GB, free: 156.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.341, allocations: 296.8 kB / 0.6438 GB, free: 156.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/4.111, allocations: 0 / 0.6438 GB, free: 156.2 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