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.001704/0.001704, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001931/0.001931, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2406/0.2406, allocations: 46.12 MB / 344.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 71.88 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3682, allocations: 62.46 MB / 0.5306 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2247/0.593, allocations: 185.8 MB / 0.7121 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004656/0.5976, allocations: 2.127 MB / 0.7141 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007619/0.5984, allocations: 15.88 kB / 0.7141 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.5995, allocations: 298 kB / 0.7144 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.6034, allocations: 1.173 MB / 0.7156 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.6054, allocations: 0.6844 MB / 0.7162 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002171/0.6075, allocations: 1.484 MB / 0.7177 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000657/0.6082, allocations: 419.2 kB / 0.7181 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.6092, allocations: 0.5682 MB / 0.7186 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.6098, allocations: 442.2 kB / 0.7191 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.6099, allocations: 48 kB / 0.7191 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3702/0.9801, allocations: 0.7989 MB / 0.7199 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.9804, allocations: 151.4 kB / 0.72 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006477/0.9811, allocations: 329.2 kB / 0.7204 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.9839, allocations: 1.213 MB / 0.7215 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.9839, allocations: 1.156 kB / 0.7215 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9839, allocations: 3.844 kB / 0.7215 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.9839, allocations: 0 / 0.7215 GB, free: 4.047 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.001981/0.9859, allocations: 1.007 MB / 0.7225 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.986, allocations: 9.875 kB / 0.7225 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.9861, allocations: 80.89 kB / 0.7226 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.9872, allocations: 140.5 kB / 0.7227 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.988, allocations: 469.8 kB / 0.7232 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.239e-05/0.9881, allocations: 28.44 kB / 0.7232 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.9881, allocations: 39.19 kB / 0.7233 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.9892, allocations: 0.5495 MB / 0.7238 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.9893, allocations: 4.656 kB / 0.7238 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.9893, allocations: 21.22 kB / 0.7238 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.9894, allocations: 10.62 kB / 0.7238 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.9903, allocations: 408.7 kB / 0.7242 GB, free: 3 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.003826/0.9941, allocations: 2.574 MB / 0.7267 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.9949, allocations: 296.7 kB / 0.727 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.9952, allocations: 146.4 kB / 0.7272 GB, free: 17.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.9957, allocations: 352.1 kB / 0.7275 GB, free: 16.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.9957, allocations: 45 kB / 0.7275 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 3.045e-06/0.9957, allocations: 0 / 0.7275 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.002666/0.9984, allocations: 0.6959 MB / 0.7282 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.9985, allocations: 134.1 kB / 0.7283 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.9992, allocations: 451.8 kB / 0.7288 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/0.9993, allocations: 33.45 kB / 0.7288 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.9995, allocations: 277.5 kB / 0.7291 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.483e-05/0.9996, allocations: 106.8 kB / 0.7292 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.9998, allocations: 107.7 kB / 0.7293 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1, allocations: 355.6 kB / 0.7296 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/1, allocations: 150.6 kB / 0.7298 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/1.001, allocations: 271.2 kB / 0.73 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/1.002, allocations: 425 kB / 0.7304 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.002, allocations: 7.438 kB / 0.7304 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00122/1.003, allocations: 0.5314 MB / 0.7309 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/1.003, allocations: 6.266 kB / 0.731 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.003, allocations: 5.75 kB / 0.731 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.005, allocations: 270.8 kB / 0.7312 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/1.005, allocations: 102.5 kB / 0.7313 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000972/1.006, allocations: 0.6019 MB / 0.7319 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/1.007, allocations: 53.44 kB / 0.732 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.007, allocations: 49.84 kB / 0.732 GB, free: 14.86 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.0004246/1.008, allocations: 171.9 kB / 0.7322 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/1.008, allocations: 54.73 kB / 0.7322 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/1.01, allocations: 1.031 MB / 0.7332 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.01, allocations: 1.781 kB / 0.7332 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.01, allocations: 1.203 kB / 0.7332 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.01, allocations: 7.109 kB / 0.7332 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.012, allocations: 0.9643 MB / 0.7342 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.012, allocations: 4.156 kB / 0.7342 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/1.012, allocations: 47.69 kB / 0.7342 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/1.014, allocations: 259.6 kB / 0.7345 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/1.014, allocations: 15.47 kB / 0.7345 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009286/1.015, allocations: 0.6045 MB / 0.7351 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.015, allocations: 1.203 kB / 0.7351 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.016, allocations: 0.5068 MB / 0.7356 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/1.016, allocations: 142.7 kB / 0.7357 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.016, allocations: 17.2 kB / 0.7357 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/1.017, allocations: 14.77 kB / 0.7357 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/1.017, allocations: 32.73 kB / 0.7358 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/1.017, allocations: 16.69 kB / 0.7358 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005079/1.017, allocations: 389 kB / 0.7362 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.017, allocations: 1.031 kB / 0.7362 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009827/1.018, allocations: 229.3 kB / 0.7364 GB, free: 13.22 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.002383/1.021, allocations: 1.228 MB / 0.7376 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001471/1.022, allocations: 368.2 kB / 0.7379 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.022, allocations: 0 / 0.7379 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/1.023, allocations: 166.3 kB / 0.7381 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/1.025, allocations: 348.7 kB / 0.7384 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/1.033, allocations: 4.708 MB / 0.743 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/1.034, allocations: 0.8494 MB / 0.7438 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00123/1.035, allocations: 0.5498 MB / 0.7444 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/1.035, allocations: 225.9 kB / 0.7446 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/1.035, allocations: 0 / 0.7446 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/1.092, allocations: 19.48 MB / 0.7636 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/14.05, allocations: 13.86 kB / 0.7636 GB, free: 6.887 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