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.001187/0.001187, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.1 MB / 222.6 MB, free: 4.77 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.2781/0.2781, allocations: 43.49 MB / 313.5 MB, free: 8.273 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.001291/0.001291, allocations: 63.91 kB / 382.1 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09004, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3086/0.3987, allocations: 188.2 MB / 0.6134 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003348/0.4021, allocations: 2.229 MB / 0.6155 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.4024, allocations: 23.75 kB / 0.6156 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.4031, allocations: 250.6 kB / 0.6158 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.4056, allocations: 1.237 MB / 0.617 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.4068, allocations: 0.6137 MB / 0.6176 GB, free: 11.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4084, allocations: 1.972 MB / 0.6195 GB, free: 9.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.4088, allocations: 358.4 kB / 0.6199 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005613/0.4093, allocations: 0.5057 MB / 0.6204 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.4098, allocations: 454.1 kB / 0.6208 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.4098, allocations: 28 kB / 0.6208 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.4111, allocations: 0.8853 MB / 0.6217 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.4113, allocations: 135.5 kB / 0.6218 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.4115, allocations: 310.5 kB / 0.6221 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.4128, allocations: 1.293 MB / 0.6234 GB, free: 5.461 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4128, allocations: 3.938 kB / 0.6234 GB, free: 5.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4128, allocations: 0 / 0.6234 GB, free: 5.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4128, allocations: 0 / 0.6234 GB, free: 5.457 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.001467/0.4143, allocations: 1.029 MB / 0.6244 GB, free: 4.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4143, allocations: 12.03 kB / 0.6244 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.405e-05/0.4144, allocations: 83.34 kB / 0.6245 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009161/0.4153, allocations: 147 kB / 0.6246 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.4159, allocations: 440.6 kB / 0.6251 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.4159, allocations: 29 kB / 0.6251 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.137e-05/0.4159, allocations: 40 kB / 0.6251 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/0.4168, allocations: 0.5593 MB / 0.6257 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4169, allocations: 3.938 kB / 0.6257 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.4169, allocations: 20 kB / 0.6257 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.4169, allocations: 12 kB / 0.6257 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.4177, allocations: 408.2 kB / 0.6261 GB, free: 2.566 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.1464/0.5641, allocations: 2.586 MB / 0.6286 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.5648, allocations: 288.6 kB / 0.6289 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.5651, allocations: 144.7 kB / 0.629 GB, free: 159.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/0.5659, allocations: 1.228 MB / 0.6302 GB, free: 158.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.566, allocations: 35.56 kB / 0.6303 GB, free: 158.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.703e-06/0.566, allocations: 0 / 0.6303 GB, free: 158.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.002197/0.5682, allocations: 0.7085 MB / 0.631 GB, free: 158 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.5682, allocations: 137.7 kB / 0.6311 GB, free: 157.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.5686, allocations: 446.2 kB / 0.6315 GB, free: 157.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.5687, allocations: 29.39 kB / 0.6315 GB, free: 157.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.5688, allocations: 275.6 kB / 0.6318 GB, free: 157.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.5689, allocations: 104.9 kB / 0.6319 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.569, allocations: 104.6 kB / 0.632 GB, free: 157.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.5691, allocations: 357.1 kB / 0.6323 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.5694, allocations: 143.3 kB / 0.6325 GB, free: 157.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.5698, allocations: 274.2 kB / 0.6327 GB, free: 157.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.5705, allocations: 422.6 kB / 0.6331 GB, free: 157 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5705, allocations: 2.562 kB / 0.6331 GB, free: 157 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.5715, allocations: 0.5245 MB / 0.6337 GB, free: 156.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5715, allocations: 8.844 kB / 0.6337 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5716, allocations: 5.344 kB / 0.6337 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.5735, allocations: 271.5 kB / 0.6339 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.5738, allocations: 102.2 kB / 0.634 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007403/0.5746, allocations: 0.5991 MB / 0.6346 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.575, allocations: 59.7 kB / 0.6347 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.237e-05/0.575, allocations: 49.11 kB / 0.6347 GB, free: 156.4 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.0001899/0.5752, allocations: 185.1 kB / 0.6349 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5754, allocations: 55.38 kB / 0.6349 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.5768, allocations: 0.6546 MB / 0.6356 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5768, allocations: 7.312 kB / 0.6356 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5769, allocations: 1.781 kB / 0.6356 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5769, allocations: 0 / 0.6356 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.5782, allocations: 0.9851 MB / 0.6366 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5782, allocations: 3.234 kB / 0.6366 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5784, allocations: 46.64 kB / 0.6366 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002009/0.5805, allocations: 291.8 kB / 0.6369 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.5805, allocations: 13.2 kB / 0.6369 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007301/0.5812, allocations: 0.606 MB / 0.6375 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5813, allocations: 2.625 kB / 0.6375 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.5823, allocations: 0.5035 MB / 0.638 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.5824, allocations: 130.1 kB / 0.6381 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.5826, allocations: 13.44 kB / 0.6381 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.583, allocations: 39.59 kB / 0.6382 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.583, allocations: 26.47 kB / 0.6382 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5831, allocations: 16.3 kB / 0.6382 GB, free: 154.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.5834, allocations: 386.5 kB / 0.6386 GB, free: 154.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5834, allocations: 0.7188 kB / 0.6386 GB, free: 154.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006632/0.5841, allocations: 259.8 kB / 0.6388 GB, free: 154.4 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.001855/0.586, allocations: 1.316 MB / 0.6401 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.5871, allocations: 366 kB / 0.6404 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5871, allocations: 4 kB / 0.6404 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.5879, allocations: 158.9 kB / 0.6406 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5893, allocations: 336 kB / 0.6409 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.5953, allocations: 4.965 MB / 0.6458 GB, free: 150.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.5955, allocations: 0.8521 MB / 0.6466 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007592/0.5963, allocations: 188.5 kB / 0.6468 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.5966, allocations: 211 kB / 0.647 GB, free: 149.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5966, allocations: 0 / 0.647 GB, free: 149.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.391/1.988, allocations: 19.5 MB / 0.666 GB, free: 146 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/1.988, allocations: 317.3 kB / 0.6663 GB, free: 145.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/4.075, allocations: 0 / 0.6663 GB, free: 145.6 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