Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 249.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.91 MB / 349.6 MB, free: 1.75 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.11 kB / 491.8 MB, free: 29.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1313, allocations: 64.26 MB / 0.543 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5293/0.6606, allocations: 183.4 MB / 0.7221 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004792/0.6654, allocations: 2.138 MB / 0.7242 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007041/0.6661, allocations: 15.88 kB / 0.7243 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.6672, allocations: 298 kB / 0.7245 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.671, allocations: 1.199 MB / 0.7257 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.6731, allocations: 0.6721 MB / 0.7264 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.6755, allocations: 1.492 MB / 0.7278 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/0.6763, allocations: 363.6 kB / 0.7282 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.6777, allocations: 0.5722 MB / 0.7287 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009166/0.6786, allocations: 466 kB / 0.7292 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.6788, allocations: 48 kB / 0.7292 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001989/0.6808, allocations: 0.8035 MB / 0.73 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003253/0.6811, allocations: 151.5 kB / 0.7301 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.6817, allocations: 326.5 kB / 0.7305 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.6847, allocations: 1.215 MB / 0.7316 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6847, allocations: 4 kB / 0.7316 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6847, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.069e-05/0.6847, allocations: 0 / 0.7316 GB, free: 13.34 MB / 0.5294 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.002391/0.6871, allocations: 1.004 MB / 0.7326 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.6872, allocations: 16.02 kB / 0.7326 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.6873, allocations: 74.53 kB / 0.7327 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.6883, allocations: 143.5 kB / 0.7329 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.6892, allocations: 472.8 kB / 0.7333 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.6893, allocations: 36.94 kB / 0.7333 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.618e-05/0.6894, allocations: 36 kB / 0.7334 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.6905, allocations: 0.5515 MB / 0.7339 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.6905, allocations: 0 / 0.7339 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.6906, allocations: 20 kB / 0.7339 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6906, allocations: 8 kB / 0.7339 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008718/0.6915, allocations: 415.6 kB / 0.7343 GB, free: 10.45 MB / 0.5294 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.003299/0.6948, allocations: 2.569 MB / 0.7368 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.6954, allocations: 273.6 kB / 0.7371 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.6957, allocations: 136.8 kB / 0.7372 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003863/0.6961, allocations: 360.3 kB / 0.7376 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.6961, allocations: 42.55 kB / 0.7376 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.6961, allocations: 0 / 0.7376 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002518/0.6987, allocations: 0.6994 MB / 0.7383 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.61e-05/0.6988, allocations: 140.5 kB / 0.7384 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/0.6993, allocations: 445.9 kB / 0.7389 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.6994, allocations: 33.7 kB / 0.7389 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.6996, allocations: 272.2 kB / 0.7392 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6998, allocations: 111.1 kB / 0.7393 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.6999, allocations: 101.6 kB / 0.7394 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.7001, allocations: 362.8 kB / 0.7397 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.7005, allocations: 143.9 kB / 0.7398 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.701, allocations: 271.3 kB / 0.7401 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/0.7019, allocations: 429.5 kB / 0.7405 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7019, allocations: 0 / 0.7405 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001341/0.7033, allocations: 0.529 MB / 0.741 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.7033, allocations: 4 kB / 0.741 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.7033, allocations: 7.938 kB / 0.741 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.7054, allocations: 268.9 kB / 0.7413 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.7059, allocations: 99.88 kB / 0.7414 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.7069, allocations: 0.6031 MB / 0.742 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.7073, allocations: 51.61 kB / 0.742 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.7074, allocations: 47.98 kB / 0.7421 GB, free: 1.98 MB / 0.5294 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.00033/0.7077, allocations: 185.7 kB / 0.7422 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.7079, allocations: 47.72 kB / 0.7423 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.7101, allocations: 1.028 MB / 0.7433 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7101, allocations: 0 / 0.7433 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7101, allocations: 4 kB / 0.7433 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7101, allocations: 1.188 kB / 0.7433 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.7119, allocations: 0.9764 MB / 0.7443 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.712, allocations: 0 / 0.7443 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.7122, allocations: 59.83 kB / 0.7443 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.714, allocations: 252.6 kB / 0.7446 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.7141, allocations: 19.92 kB / 0.7446 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.7151, allocations: 0.6031 MB / 0.7452 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.7151, allocations: 8.844 kB / 0.7452 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.7165, allocations: 0.4923 MB / 0.7456 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.7167, allocations: 132.7 kB / 0.7458 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.7169, allocations: 19.89 kB / 0.7458 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.7173, allocations: 19.98 kB / 0.7458 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.7174, allocations: 31.83 kB / 0.7458 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.7174, allocations: 15.98 kB / 0.7459 GB, free: 13.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005444/0.718, allocations: 386.8 kB / 0.7462 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.718, allocations: 0 / 0.7462 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008217/0.7188, allocations: 219.6 kB / 0.7464 GB, free: 13.32 MB / 0.545 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.002388/0.7212, allocations: 1.242 MB / 0.7477 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7227, allocations: 353.8 kB / 0.748 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.7227, allocations: 8.062 kB / 0.748 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.7235, allocations: 144.3 kB / 0.7481 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7253, allocations: 350.6 kB / 0.7485 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.7339, allocations: 4.719 MB / 0.7531 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.7344, allocations: 0.8472 MB / 0.7539 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001174/0.7356, allocations: 0.5431 MB / 0.7544 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/0.736, allocations: 219.3 kB / 0.7546 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.736, allocations: 0 / 0.7546 GB, free: 4.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05687/0.7929, allocations: 19.47 MB / 0.7737 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.59, allocations: 7.922 kB / 0.7737 GB, free: 1.449 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.786908466834575]