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.001104/0.001104, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 203.8 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.34/1.34, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 71.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3399, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2027/0.5426, allocations: 185.8 MB / 0.7119 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.5472, allocations: 2.131 MB / 0.714 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.5478, allocations: 15.88 kB / 0.714 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.5489, allocations: 301.9 kB / 0.7143 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003375/0.5523, allocations: 1.171 MB / 0.7155 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.5541, allocations: 0.6825 MB / 0.7161 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.556, allocations: 1.484 MB / 0.7176 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.5568, allocations: 415.3 kB / 0.718 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.5581, allocations: 0.576 MB / 0.7185 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000795/0.5589, allocations: 446.2 kB / 0.719 GB, free: 120 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.559, allocations: 48 kB / 0.719 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3286/0.8876, allocations: 0.792 MB / 0.7198 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.888, allocations: 148.3 kB / 0.7199 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.8891, allocations: 327.9 kB / 0.7202 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.8916, allocations: 1.209 MB / 0.7214 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.8917, allocations: 3.828 kB / 0.7214 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8917, allocations: 3.188 kB / 0.7214 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.958e-06/0.8917, allocations: 0 / 0.7214 GB, free: 4.16 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.001778/0.8935, allocations: 0.9823 MB / 0.7224 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.8935, allocations: 11.75 kB / 0.7224 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.8936, allocations: 80.34 kB / 0.7225 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.8946, allocations: 137 kB / 0.7226 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007761/0.8954, allocations: 464.5 kB / 0.723 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.8955, allocations: 32.47 kB / 0.7231 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.8956, allocations: 39.78 kB / 0.7231 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.8966, allocations: 0.551 MB / 0.7237 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8966, allocations: 6.125 kB / 0.7237 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.8967, allocations: 21.56 kB / 0.7237 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.8967, allocations: 13.16 kB / 0.7237 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.8976, allocations: 407.1 kB / 0.7241 GB, free: 3.176 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.003371/0.901, allocations: 2.569 MB / 0.7266 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.9017, allocations: 290.8 kB / 0.7269 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.9021, allocations: 151.6 kB / 0.727 GB, free: 17.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/0.9025, allocations: 353.5 kB / 0.7273 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.9025, allocations: 43.97 kB / 0.7274 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.9025, allocations: 0.9688 kB / 0.7274 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002569/0.9051, allocations: 0.6982 MB / 0.7281 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.9052, allocations: 133.1 kB / 0.7282 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.9057, allocations: 442.3 kB / 0.7286 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.9058, allocations: 32.61 kB / 0.7287 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.906, allocations: 279.9 kB / 0.7289 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.9061, allocations: 101.1 kB / 0.729 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.9063, allocations: 104.7 kB / 0.7291 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.9064, allocations: 357.6 kB / 0.7295 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.9068, allocations: 144.4 kB / 0.7296 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.9072, allocations: 280.3 kB / 0.7299 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.908, allocations: 424.6 kB / 0.7303 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.908, allocations: 6.5 kB / 0.7303 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001058/0.9091, allocations: 0.5261 MB / 0.7308 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9091, allocations: 7.406 kB / 0.7308 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.9091, allocations: 3.656 kB / 0.7308 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.9111, allocations: 270.5 kB / 0.7311 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.9115, allocations: 105.4 kB / 0.7312 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008732/0.9124, allocations: 0.6011 MB / 0.7317 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.9128, allocations: 50.34 kB / 0.7318 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.9129, allocations: 47.75 kB / 0.7318 GB, free: 15.06 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.0002258/0.9131, allocations: 182.6 kB / 0.732 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.9132, allocations: 51.16 kB / 0.7321 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.915, allocations: 1.027 MB / 0.7331 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.915, allocations: 3.625 kB / 0.7331 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.915, allocations: 1.844 kB / 0.7331 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.915, allocations: 3.141 kB / 0.7331 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.9165, allocations: 0.9706 MB / 0.734 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.9165, allocations: 3.219 kB / 0.734 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.9168, allocations: 50.14 kB / 0.7341 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.9185, allocations: 262.7 kB / 0.7343 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.9185, allocations: 15 kB / 0.7343 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008273/0.9194, allocations: 0.5999 MB / 0.7349 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9194, allocations: 3.625 kB / 0.7349 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.9205, allocations: 0.5065 MB / 0.7354 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.9207, allocations: 134.1 kB / 0.7355 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.9208, allocations: 13.59 kB / 0.7356 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.9212, allocations: 18.06 kB / 0.7356 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.9213, allocations: 22.97 kB / 0.7356 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.9213, allocations: 20.53 kB / 0.7356 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004087/0.9217, allocations: 388.2 kB / 0.736 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9217, allocations: 0.9375 kB / 0.736 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007765/0.9225, allocations: 221.8 kB / 0.7362 GB, free: 13.43 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.001952/0.9245, allocations: 1.233 MB / 0.7374 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.9258, allocations: 365.5 kB / 0.7378 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9258, allocations: 4.781 kB / 0.7378 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.9265, allocations: 166.4 kB / 0.7379 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.9279, allocations: 343.3 kB / 0.7382 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006615/0.9345, allocations: 4.68 MB / 0.7428 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.935, allocations: 0.8495 MB / 0.7436 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000981/0.936, allocations: 0.5458 MB / 0.7442 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.9364, allocations: 224 kB / 0.7444 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.9364, allocations: 0 / 0.7444 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04775/0.9842, allocations: 19.71 MB / 0.7636 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.6, allocations: 20.61 kB / 0.7637 GB, free: 6.926 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