Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001026/0.001027, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.172/0.172, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 75.39 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09484, allocations: 62.44 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3302/0.425, allocations: 183.7 MB / 0.6478 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.4284, allocations: 2.212 MB / 0.65 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.4289, allocations: 19.81 kB / 0.65 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.4297, allocations: 250.6 kB / 0.6502 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.4322, allocations: 1.071 MB / 0.6513 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.4336, allocations: 0.6401 MB / 0.6519 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.4352, allocations: 1.473 MB / 0.6533 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005541/0.4357, allocations: 423.4 kB / 0.6537 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/0.4366, allocations: 0.5721 MB / 0.6543 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.4371, allocations: 466.1 kB / 0.6547 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.96e-05/0.4372, allocations: 48 kB / 0.6548 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.4384, allocations: 0.7639 MB / 0.6555 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.4386, allocations: 151.5 kB / 0.6557 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.4389, allocations: 334.5 kB / 0.656 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.4403, allocations: 1.215 MB / 0.6572 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4403, allocations: 4 kB / 0.6572 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4403, allocations: 0 / 0.6572 GB, free: 2.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4403, allocations: 0 / 0.6572 GB, free: 2.094 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.001584/0.4419, allocations: 0.9862 MB / 0.6581 GB, free: 1.059 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4419, allocations: 12.03 kB / 0.6581 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.841e-05/0.442, allocations: 78.53 kB / 0.6582 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009274/0.443, allocations: 135.3 kB / 0.6583 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.4435, allocations: 448.4 kB / 0.6588 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.4435, allocations: 29 kB / 0.6588 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.4436, allocations: 40 kB / 0.6588 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009272/0.4445, allocations: 0.5593 MB / 0.6594 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.4446, allocations: 0 / 0.6594 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.4446, allocations: 20 kB / 0.6594 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4446, allocations: 8 kB / 0.6594 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007546/0.4454, allocations: 415.6 kB / 0.6598 GB, free: 15.25 MB / 0.4981 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.002448/0.4479, allocations: 2.565 MB / 0.6623 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.4484, allocations: 289.2 kB / 0.6626 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.4487, allocations: 152.8 kB / 0.6627 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.449, allocations: 352.4 kB / 0.6631 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4491, allocations: 46.5 kB / 0.6631 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.4491, allocations: 0 / 0.6631 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002283/0.4514, allocations: 0.7032 MB / 0.6638 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4514, allocations: 140.5 kB / 0.6639 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.4519, allocations: 449.8 kB / 0.6644 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.452, allocations: 33.7 kB / 0.6644 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4521, allocations: 263.9 kB / 0.6647 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.4522, allocations: 110.5 kB / 0.6648 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4524, allocations: 101.6 kB / 0.6649 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4525, allocations: 362.7 kB / 0.6652 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4529, allocations: 147.9 kB / 0.6653 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.4534, allocations: 276.3 kB / 0.6656 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.4542, allocations: 417.5 kB / 0.666 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4543, allocations: 4 kB / 0.666 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001176/0.4554, allocations: 0.5252 MB / 0.6665 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4555, allocations: 4 kB / 0.6665 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4555, allocations: 11.88 kB / 0.6665 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/0.4575, allocations: 268.5 kB / 0.6668 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.4579, allocations: 103.9 kB / 0.6669 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008689/0.4588, allocations: 0.5992 MB / 0.6675 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.4593, allocations: 63.58 kB / 0.6675 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.4593, allocations: 55.91 kB / 0.6676 GB, free: 6.738 MB / 0.4981 GB 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.0002343/0.4596, allocations: 181.6 kB / 0.6678 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.4597, allocations: 51.34 kB / 0.6678 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.4617, allocations: 1.014 MB / 0.6688 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4617, allocations: 4 kB / 0.6688 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4618, allocations: 0.5 kB / 0.6688 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4618, allocations: 0 / 0.6688 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.4633, allocations: 0.9711 MB / 0.6698 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4633, allocations: 5 kB / 0.6698 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.4635, allocations: 51.95 kB / 0.6698 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.4652, allocations: 264.6 kB / 0.6701 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.4653, allocations: 15.92 kB / 0.6701 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008236/0.4661, allocations: 0.603 MB / 0.6707 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4661, allocations: 0 / 0.6707 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4673, allocations: 0.5121 MB / 0.6712 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4674, allocations: 128.5 kB / 0.6713 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4675, allocations: 11.94 kB / 0.6713 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.4679, allocations: 35.88 kB / 0.6713 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.468, allocations: 31.89 kB / 0.6714 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.468, allocations: 24.55 kB / 0.6714 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003908/0.4684, allocations: 382.8 kB / 0.6718 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4684, allocations: 4 kB / 0.6718 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006458/0.4691, allocations: 219.8 kB / 0.672 GB, free: 2.066 MB / 0.4981 GB 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.001919/0.471, allocations: 1.243 MB / 0.6732 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.4723, allocations: 380.4 kB / 0.6735 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4723, allocations: 0 / 0.6735 GB, free: 420 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.473, allocations: 163.8 kB / 0.6737 GB, free: 256 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4745, allocations: 343 kB / 0.674 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/0.4816, allocations: 4.953 MB / 0.6789 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4819, allocations: 0.8433 MB / 0.6797 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00114/0.4831, allocations: 0.5535 MB / 0.6802 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003787/0.4835, allocations: 219.3 kB / 0.6804 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4835, allocations: 0 / 0.6804 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.42/2.903, allocations: 19.04 MB / 0.699 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003341/2.904, allocations: 310.2 kB / 0.6993 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.338/9.241, allocations: 3.938 kB / 0.6993 GB, free: 6.043 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches