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.001549/0.00155, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001746/0.001746, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2231/0.2231, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.81 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3559, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2009/0.5569, allocations: 185.8 MB / 0.7119 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004018/0.561, allocations: 2.123 MB / 0.714 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007014/0.5617, allocations: 19.88 kB / 0.714 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.5628, allocations: 301.9 kB / 0.7143 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.5664, allocations: 1.163 MB / 0.7155 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.5684, allocations: 0.6924 MB / 0.7161 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002049/0.5705, allocations: 1.48 MB / 0.7176 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.5713, allocations: 419.2 kB / 0.718 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.5725, allocations: 0.5799 MB / 0.7185 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.5733, allocations: 438.2 kB / 0.719 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.5734, allocations: 48 kB / 0.719 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3047/0.8782, allocations: 0.7948 MB / 0.7198 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.8785, allocations: 150.3 kB / 0.7199 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006173/0.8791, allocations: 330.6 kB / 0.7202 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.8812, allocations: 1.208 MB / 0.7214 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.8812, allocations: 0 / 0.7214 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.766e-06/0.8812, allocations: 0 / 0.7214 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.8813, allocations: 2.406 kB / 0.7214 GB, free: 4.109 MB / 0.5606 GB 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.001676/0.8829, allocations: 0.9837 MB / 0.7224 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.883, allocations: 9.438 kB / 0.7224 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.8831, allocations: 87.05 kB / 0.7225 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.8841, allocations: 132.8 kB / 0.7226 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007602/0.8848, allocations: 465.9 kB / 0.723 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.8849, allocations: 33.12 kB / 0.7231 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.8849, allocations: 37.97 kB / 0.7231 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.886, allocations: 0.5541 MB / 0.7237 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.8861, allocations: 1.781 kB / 0.7237 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.8861, allocations: 18.53 kB / 0.7237 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.8862, allocations: 10.62 kB / 0.7237 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.8871, allocations: 408.5 kB / 0.7241 GB, free: 3.125 MB / 0.5606 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.003115/0.8902, allocations: 2.568 MB / 0.7266 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.8909, allocations: 295.8 kB / 0.7269 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.8912, allocations: 145.7 kB / 0.727 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.8915, allocations: 359.5 kB / 0.7273 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.8916, allocations: 42.06 kB / 0.7274 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.775e-06/0.8916, allocations: 0.875 kB / 0.7274 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.00247/0.8941, allocations: 0.6966 MB / 0.7281 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.8942, allocations: 135.3 kB / 0.7282 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.8947, allocations: 447 kB / 0.7286 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.8948, allocations: 32.42 kB / 0.7287 GB, free: 16.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.8949, allocations: 276.8 kB / 0.7289 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.048e-05/0.895, allocations: 96.23 kB / 0.729 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.8952, allocations: 103.9 kB / 0.7291 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8954, allocations: 358.3 kB / 0.7294 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.8957, allocations: 142.6 kB / 0.7296 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.8962, allocations: 281.2 kB / 0.7299 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.897, allocations: 425.3 kB / 0.7303 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.897, allocations: 8.328 kB / 0.7303 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001103/0.8981, allocations: 0.5255 MB / 0.7308 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8981, allocations: 9.406 kB / 0.7308 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8982, allocations: 0 / 0.7308 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/0.9001, allocations: 273.7 kB / 0.731 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.9005, allocations: 102.9 kB / 0.7311 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000878/0.9014, allocations: 0.6035 MB / 0.7317 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.9018, allocations: 51.75 kB / 0.7318 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.9019, allocations: 47.62 kB / 0.7318 GB, free: 15.01 MB / 0.5762 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.0002878/0.9022, allocations: 180.2 kB / 0.732 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9023, allocations: 50.66 kB / 0.7321 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001881/0.9042, allocations: 1.026 MB / 0.7331 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9042, allocations: 7.281 kB / 0.7331 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9042, allocations: 0.9688 kB / 0.7331 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9042, allocations: 2.906 kB / 0.7331 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/0.9058, allocations: 0.9737 MB / 0.734 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9058, allocations: 2.312 kB / 0.734 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.906, allocations: 51.08 kB / 0.7341 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.9077, allocations: 259.7 kB / 0.7343 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.9077, allocations: 11.28 kB / 0.7343 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008771/0.9086, allocations: 0.5987 MB / 0.7349 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9086, allocations: 6.531 kB / 0.7349 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.9098, allocations: 0.505 MB / 0.7354 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.91, allocations: 134.8 kB / 0.7355 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.849e-05/0.9101, allocations: 17.22 kB / 0.7356 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.9104, allocations: 18 kB / 0.7356 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.9105, allocations: 22.75 kB / 0.7356 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.9105, allocations: 16.62 kB / 0.7356 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003933/0.9109, allocations: 388.4 kB / 0.736 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9109, allocations: 1.094 kB / 0.736 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007625/0.9117, allocations: 221.9 kB / 0.7362 GB, free: 13.39 MB / 0.5762 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.00204/0.9138, allocations: 1.232 MB / 0.7374 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.915, allocations: 373.8 kB / 0.7378 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.915, allocations: 3.156 kB / 0.7378 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006787/0.9157, allocations: 165.8 kB / 0.7379 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.9173, allocations: 347.6 kB / 0.7382 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.9237, allocations: 4.688 MB / 0.7428 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.9242, allocations: 0.8466 MB / 0.7436 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009097/0.9251, allocations: 0.5479 MB / 0.7442 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.9254, allocations: 225.8 kB / 0.7444 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.9254, allocations: 0 / 0.7444 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08087/1.006, allocations: 19.7 MB / 0.7636 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.41, allocations: 11.08 kB / 0.7637 GB, free: 6.875 MB / 0.5762 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