Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",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.001971/0.001972, allocations: 103.1 kB / 15.98 MB, free: 5.875 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.001538/0.001539, allocations: 192.7 kB / 16.91 MB, free: 5.738 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.602/2.602, allocations: 205.1 MB / 222.8 MB, free: 4.59 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.6286/0.6286, allocations: 43.5 MB / 313.6 MB, free: 8.488 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.002327/0.002327, allocations: 63.89 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2586, allocations: 57.79 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.8423/1.101, allocations: 187.8 MB / 0.6132 GB, free: 120 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/1.107, allocations: 2.197 MB / 0.6153 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/1.109, allocations: 27.81 kB / 0.6153 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/1.11, allocations: 258.6 kB / 0.6156 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006314/1.117, allocations: 1.276 MB / 0.6168 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002634/1.119, allocations: 0.6307 MB / 0.6175 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003169/1.122, allocations: 1.481 MB / 0.6189 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009332/1.123, allocations: 418.1 kB / 0.6193 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/1.125, allocations: 0.5721 MB / 0.6199 GB, free: 9.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/1.126, allocations: 458.1 kB / 0.6203 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/1.126, allocations: 48 kB / 0.6203 GB, free: 8.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/1.128, allocations: 0.9166 MB / 0.6212 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/1.129, allocations: 151.5 kB / 0.6214 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/1.129, allocations: 338.4 kB / 0.6217 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/1.132, allocations: 1.325 MB / 0.623 GB, free: 6.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/1.132, allocations: 4 kB / 0.623 GB, free: 6.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.897e-06/1.132, allocations: 7.938 kB / 0.623 GB, free: 6.039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.234e-05/1.132, allocations: 0 / 0.623 GB, free: 6.039 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002244/1.134, allocations: 1.017 MB / 0.624 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.134, allocations: 11.89 kB / 0.624 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/1.134, allocations: 86.52 kB / 0.6241 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.135, allocations: 135.2 kB / 0.6242 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/1.136, allocations: 452.6 kB / 0.6247 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.136, allocations: 29 kB / 0.6247 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/1.136, allocations: 39.94 kB / 0.6247 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/1.137, allocations: 0.5516 MB / 0.6253 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/1.137, allocations: 3.938 kB / 0.6253 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/1.137, allocations: 24 kB / 0.6253 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/1.137, allocations: 8 kB / 0.6253 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/1.138, allocations: 404.3 kB / 0.6257 GB, free: 3.168 MB / 494.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.003701/1.142, allocations: 2.596 MB / 0.6282 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/1.143, allocations: 288 kB / 0.6285 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3374/1.48, allocations: 143.7 kB / 0.6286 GB, free: 159.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/1.482, allocations: 1.225 MB / 0.6298 GB, free: 158.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/1.482, allocations: 37.19 kB / 0.6299 GB, free: 158.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 3.657e-06/1.482, allocations: 0 / 0.6299 GB, free: 158.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.003056/1.485, allocations: 0.7029 MB / 0.6305 GB, free: 158.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/1.485, allocations: 132.5 kB / 0.6307 GB, free: 158.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006754/1.486, allocations: 448.5 kB / 0.6311 GB, free: 158.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/1.486, allocations: 33.61 kB / 0.6311 GB, free: 158.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/1.486, allocations: 269.4 kB / 0.6314 GB, free: 158.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/1.486, allocations: 115.6 kB / 0.6315 GB, free: 158.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.487, allocations: 100.3 kB / 0.6316 GB, free: 158.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/1.487, allocations: 362.3 kB / 0.6319 GB, free: 157.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.487, allocations: 147.2 kB / 0.6321 GB, free: 157.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/1.488, allocations: 268.2 kB / 0.6323 GB, free: 157.6 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009269/1.489, allocations: 420.9 kB / 0.6327 GB, free: 157.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/1.489, allocations: 2.844 kB / 0.6327 GB, free: 157.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0014/1.49, allocations: 0.5198 MB / 0.6332 GB, free: 157.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.49, allocations: 5.75 kB / 0.6333 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.49, allocations: 2.875 kB / 0.6333 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.492, allocations: 274.2 kB / 0.6335 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/1.493, allocations: 98.22 kB / 0.6336 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/1.494, allocations: 0.6111 MB / 0.6342 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/1.494, allocations: 58.14 kB / 0.6343 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.494, allocations: 49.64 kB / 0.6343 GB, free: 156.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.495, allocations: 177.7 kB / 0.6345 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/1.495, allocations: 54.06 kB / 0.6345 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/1.497, allocations: 0.6675 MB / 0.6352 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.497, allocations: 4.406 kB / 0.6352 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.497, allocations: 3.062 kB / 0.6352 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.497, allocations: 0 / 0.6352 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/1.499, allocations: 0.9697 MB / 0.6361 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.499, allocations: 4.406 kB / 0.6361 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/1.499, allocations: 45.36 kB / 0.6362 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.501, allocations: 268.8 kB / 0.6364 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/1.501, allocations: 16.28 kB / 0.6365 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008369/1.502, allocations: 0.6085 MB / 0.6371 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.502, allocations: 2.938 kB / 0.6371 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/1.503, allocations: 0.5063 MB / 0.6375 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/1.503, allocations: 130.2 kB / 0.6377 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.503, allocations: 17.25 kB / 0.6377 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/1.504, allocations: 31.98 kB / 0.6377 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.504, allocations: 31.75 kB / 0.6378 GB, free: 155.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.504, allocations: 14.64 kB / 0.6378 GB, free: 155.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005426/1.505, allocations: 390.1 kB / 0.6381 GB, free: 155 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.505, allocations: 1.188 kB / 0.6381 GB, free: 155 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001157/1.506, allocations: 262.8 kB / 0.6384 GB, free: 155 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002811/1.509, allocations: 1.297 MB / 0.6397 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/1.51, allocations: 392.3 kB / 0.64 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.51, allocations: 0 / 0.64 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008779/1.511, allocations: 160.7 kB / 0.6402 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/1.513, allocations: 347.2 kB / 0.6405 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/1.523, allocations: 4.967 MB / 0.6454 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/1.523, allocations: 0.8477 MB / 0.6462 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001239/1.524, allocations: 190.6 kB / 0.6464 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/1.525, allocations: 211 kB / 0.6466 GB, free: 150.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/1.525, allocations: 0 / 0.6466 GB, free: 150.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07306/1.598, allocations: 20.01 MB / 0.6661 GB, free: 146.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/1.598, allocations: 309.1 kB / 0.6664 GB, free: 146.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.446, allocations: 0 / 0.6664 GB, free: 146.1 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches